Wuhai’s Weblog

July 20, 2008

NFS mount hang, using NFS4

Filed under: RedHat — wuhai @ 5:46 am

In RHEL4, nfs server:

nfs mount keeps hanging from nfs client. So I disabled NFS4 with the following line in /etc/sysconfig/nfs:

RPCNFSDARGS=’–no-nfs-version 4′

But when I try to mount nfs from either RHEL3 or RHEL5, both failed with hanging mount.

Fix for RHEL5 client:

In RHEL4 nfs server, re-enable NFS4 by commenting out the above line in /etc/sysconfig/nfs. In /etc/exports, use the following option instead: *(rw,insecure,no_subtree_check,fsid=0)

Then in RHEL5 client, do:

mount -t nfs4 nfs4_server_name:/ client_folder_name

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.