Data ONTAP supports all of the mandatory functionality in NFSv4, except the SPKM3 and LIPKEY security mechanisms, including the following:
Be aware of the following limitations when using NFSv4 with Data ONTAP:
NFSv4 provides server-to-client delegation for file operations. The filer currently supports delegation of read operations only.
Delegation of file operations can reduce latency, particularly in environments that
Read delegations are only supported over NFSv4 (not over prior NFS versions). To verify that a specific client type supports read delegation, see the client operating system documentation or feature support documentation.
Delegation of file operations requires the following configuration criteria to be met:
Delegation works on files within any style of qtree, whether or not oplocks have been enabled.
Delegation of file operations to a client can be revoked when the lease expires, or when the filer receives the following requests from another client:
When the server reboots, the delegation state is lost. However, information about delegated files is preserved. Clients may reclaim the delegation state upon reconnection, instead of going through the entire delegation request process again. When a client holding a read delegation reboots, all delegation state information will be flushed from the filer cache upon reconnect. The client must issue a delegation request to establish a new delegation.
By default, read delegation is enabled. To modify the read delegation setting, complete the following step.
| 1 |
options nfs.v4.read_delegation on|off [on] |
Note
The read delegation option takes effect as soon as it is changed. There is no need to reboot the filer following this command.
Use the nfsstat command to retrieve information about read delegation requests, as described in the following sections. Results returned by the nfsstat command include delegation requests that have been granted as well as requests that have been denied due to an error. For information about delegation requests your filer has denied, view the system log file.
You can view delegation information:
Use the procedures described in the following sections to retrieve delegation information.
To view delegation information for all clients, complete the following step.
| 1 |
nfsstat -h |
The filer will return individual delegation statistics for each client.
To view delegation information for a specific client, complete the following step.
| 1 |
nfsstat -h <hostname or ip_address> |
The filer will return individual delegation statistics for the specified client.
To view delegation information specific to a vFiler, complete the following step.
| 1 |
vfiler run <filername> nfsstat -d |
To view delegation information specific to a filer, complete the following step.
| 1 |
nfsstat -d |
NFSv4 uses a pseudo-fs (file system) a as an entry point into the filer for determining mount points. A pseudo-fs allows you to use one port for security, rather than several. All NFSv4 servers support the use of a pseudo-fs.
You may experience inconsistencies with mount points between NFSv3 and NFSv4, because of the pseudo-fs used in NFSv4.
In the examples that follow, you have these volumes:
/vol/vol0 (root)
/vol/vol1
/vol/home
In NFSv3 if you do not use the complete path from /vol/vol0, and you mount filer:/, the mount point is filer:/vol/vol0. That is, if the path does not begin with /vol in NFSv3, then Data ONTAP adds /vol/vol0 to the beginning of the path.
In NFSv4, if you do not use the complete path from /vol/vol0 and you mount filer:/, you mount the root of the pseudo-fs and not /vol/vol0. Data ONTAP does not add /vol/vol0 to the beginning of the path.
Therefore, if you mount filer:/ /n/filer using NFSv3 and try the same mount using NFSv4, you would mount a different file system.
In Data ONTAP's implementation of the NFSv4 pseudo-fs, the nodes "/" and "/vol" are always present and form the common prefix of any reference into the pseudo-fs. Any reference that does not begin with "/vol" is invalid.
In this example, there is a /vol/vol0/home directory. In NFSv3, if you mount filer:/home/users, /home is considered as the directory /vol/vol0/home. In NFSv4, if you mount filer:/home/users, /home is not interpreted as the volume /vol/home; it is considered an invalid path in the pseudo-fs tree.
The domain that Data ONTAP uses for NFSv4 user ID mapping by default is the NIS domain, if one is set. If an NIS domain is not set, the DNS domain is used. You might need to set the user ID domain if, for example, you have multiple user ID domains.
To specify the user ID domain to be used for NFSv4 user ID mapping, complete the following step.
| 1 |
options nfs.v4.id_domain domain |
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00473
File: nfs14.htm
Last updated: 11/25/03 18:02:36