Contents
What is Fsid in NFS?
fsid=num|root|uuid. NFS needs to be able to identify each filesystem that it exports. Normally it will use a UUID for the filesystem (if the filesystem has such a thing) or the device number of the device holding the filesystem (if the filesystem is stored on the device).
What is the purpose of the ETC exports file?
The /etc/exports file contains an entry for each directory that can be exported to NFS clients. This file is read automatically by the exportfs command.
What is Subtree_check NFS?
If a subdirectory of a filesystem is exported, but the whole filesystem isn’t then whenever a NFS request arrives, the server must check not only that the accessed file is in the appropriate filesystem (which is easy) but also that it is in the exported tree (which is harder). This check is called the subtree_check.
What does FSID = 0 mean in NFSv4?
For NFSv4, there is a distinguished filesystem which is the root of all exported filesystem. This is specified with fsid=root or fsid=0 both of which mean exactly the same thing. So in other words with NFSv4 the first line in your example is defining a base point under which all directories the server is exporting to a certain client are located.
How to export filesystem to server in NFSv4?
Modify the fstab line for filesystem you plan to export on the server to add the “acl” option to the mount options. Create a directory to export on the server: The following steps need to be performed on every boot; this should really be done by init scripts. The necessary init scripts already exist in recent Fedora distributions.
Is there a mount protocol for NFSv4 server?
Technical note: NFSv4 no longer has a separate “mount” protocol. Instead of exporting a number of distinct exports, an NFSv4 client sees the NFSv4 server’s exports as existing inside a single filesystem, called the nfsv4 “pseudofilesystem”.
How is the first line defined in NFSv4?
So in other words with NFSv4 the first line in your example is defining a base point under which all directories the server is exporting to a certain client are located. At first sight this might sound like a step back compared to the flexibility of NFSv3 which allows you to export any directory.