Enabling or disabling NFSv4 referrals

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

Before you begin

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

Procedure

  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 enabledvserver 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 enabledvserver 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