NFS4 mount is read-only?
My first time setting up an nfs4 mount. I can successfully mount the NFS4 directory, and view file contents. However, even when exporting and mounting read-write, it keeps telling me it's a read only filesystem.
On server, /etc/exports:
/nfs4_exports somehost(no_root_squash,fsid=0)
/nfs4_exports/logs somehost(no_root_squash,rw)
On client, fstab entry:
somehost:/ /datalogs nfs4 rw 0 0
EDIT:
I think I solved it - I added an 'rw' field to the top entry in /etc/exports. Seems to be working now.
Client shell session:
# mount /datalogs/
# touch /datalogs/testfile
touch: cannot touch `/datalogs/testfile': Read-only file system
Anything simple I missed?
Last edited by larold; 07-07-2010 at 02:11 PM.
|