From NFS server (10.10.10.9) exported as below:
/exports 10.0.0.0/8(ro, no_root_squash, async, fsid=0)
/exports/Mount 10.10.10.10/32(rw, no_root_squash, async)
On NFS client (10.10.10.10):
#mount -vvv -t nfs4 -o rw,no_root_squash,async 10.10.10.9:/ /mnt/temp
#touch test.txt ( showing read-only file system which is fine).
#touch test.txt ( showing read-only file system which is not ok).
- After updating “/etc/export” file and running “exportfs -vra” is not enough. You also need to mount.
#mount –bind <actual/real folder path> <folderpath mentioned in export>
2. fsid=0 is for root mount.
An NFSv4 client now has the ability to see all of the exports served by the NFSv4 server as a single file system, called the NFSv4 pseudo-file system. On Red Hat Enterprise Linux, the pseudo-file system is identified as a single, real file system, identified at export with the