2008年6月18日 星期三

nfs mount: mount: /sharepoint: Not owner

When trying to mount a share from a Linux server (RHEL5) Solaris (10) issues this very useful message:
bash-3.00# mount server:/nfsshare /sharepoint
nfs mount: mount: /sharepoint: Not owner

This appears to be an issue with NFS v4 on Linux and Solaris 10. To fix this edit:
/etc/default/nfs
and change
#NFS_CLIENT_VERSMAX=4
to
NFS_CLIENT_VERSMAX=3

Or of one time mounts simply add the following to the command line
mount -o vers=3 server:/nfsshare /sharepoint

沒有留言: