how to verify file delegations
Subsystems (2)
Hi,
I'm a sysadmin doing some testing with NFSv4 on RHEL6/Fedora 14. How can I verify that file read and write delegations are occurring ? The "delegpurge" and "delegreturn" values are zero from nfsstat.
Thanks,
Jimmy
Quoted 5 lines · Jimmy Dorff
Hi,
I'm a sysadmin doing some testing with NFSv4 on RHEL6/Fedora 14. How can I verify that file read and write delegations are occurring ? The "delegpurge" and "delegreturn" values are zero from nfsstat.
If delegreturn is pinned at zero, then you are highly unlikely to be using delegations at all. Have you checked that the callback channel is set to a port that the server can connect to?
You can pin the callback channel to a particular port (in this example port 4048) using something like the following on the NFS client:
echo "options nfs callback_tcpport=4048" >> /etc/modprobe.d/options-local.conf
then edit your NFS client firewall settings to allow incoming TCP connections to that port. Finally, you'll want to reboot that client...
Trond
Signature · 6 lines
Trond Myklebust Linux NFS client maintainer NetApp [email protected] www.netapp.com