I am operating some NFSv4 servers, but sometimes I reboot NFS servers (why?), causing NFS clients to hang when trying to approach the NFS mountpoints.
umount
/umount -f
does not work- Even when I reboot some NFS clients, they still hang on the way to shutdown
- OS is FreeBSD 9.1-p2 (server and clients)
- NFS configuration is below
Code:
[server]
rpcbind_enable="YES"
nfs_server_enable="YES"
nfsv4_server_enable="YES"
nfsuserd_enable="YES" # Client also needed
mountd_enable="YES"
mountd_flags="-r"
rpc_lockd_enable="YES"
rpc_statd_enable="YES"
[clients]
rpcbind_enable="YES"
nfs_client_enable="YES"
nfsuserd_enable="YES"
- What's wrong?
- Can I solve these hanging situations?
- Please tell me how to avoid these situations. When the server is gone, clients should not hang and recover automatically when the server comes back (reboots).
Thank you.