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? |
Yes, you need to specify rw in the exports for exported filesystems.
|
All times are GMT -5. The time now is 04:15 AM. |