Enable or disable NFSv4 referrals

Contributors

You can enable NFSv4 referrals on storage virtual machines (SVMs) by enabling the options -v4-fsid-change and -v4.0-referralsor -v4.1-referrals. Enabling NFSV4 referrals can result in faster data access for NFSv4 clients that support this feature.

What you’ll need

If you want to enable NFS referrals, you must first disable parallel NFS. You cannot enable both at the same time.

Steps
  1. Set the privilege level to advanced:

    set -privilege advanced

  2. Perform one of the following actions:

    If you want to…​ Enter the command…​

    Enable NFSv4 referrals

    vserver nfs modify -vserver vserver_name -v4-fsid-change enabled vserver nfs modify -vserver vserver_name -v4.0-referrals enabled

    Disable NFSv4 referrals

    vserver nfs modify -vserver vserver_name -v4.0-referrals disabled

    Enable NFSv4.1 referrals

    vserver nfs modify -vserver vserver_name -v4-fsid-change enabled vserver nfs modify -vserver vserver_name -v4.1-referrals enabled

    Disable NFSv4.1 referrals

    vserver nfs modify -vserver vserver_name -v4.1-referrals disabled

  3. Return to the admin privilege level:

    set -privilege admin