LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   NFS: is 'fsid' allowed in /etc/fstab? (https://www.linuxquestions.org/questions/linux-server-73/nfs-is-fsid-allowed-in-etc-fstab-572021/)

stefanlasiewski 07-24-2007 08:21 PM

NFS: is 'fsid' allowed in /etc/fstab? (Answer: No)
 
I've been reading up on the NFS option 'fsid=num', which allows me to forces the filesystem ID of files on a NFS filesystem.

From the 'exports(5) manpage:

Quote:

"fsid=num

This option forces the filesystem identification portion of the file handle and file attributes used on the wire to be num instead of a number derived from the major and minor number of the block device on which the filesystem is mounted."
I thought that 'fsid' could only be specified in /etc/exports. However, I am reading conflicting reports if 'fsid' is also allowed in /etc/fstab in addition to /etc/exports. I can't get 'fsid' to work in /etc/fstab-- I'm not sure if I have the syntax wrong (There are few examples to look at) or if these the RedHat manual is just wrong.

Here are two such references:

This article at BMC Software and The Red Hat Enterprise Linux 5 Deployment Guide,
section 18.4. "Common NFS Mount Options"
(see 'fsid' at the top of the list).

Are these reports wrong? Is 'fsid' not allowed in /etc/fstab as well?

stefanlasiewski 07-26-2007 06:43 PM

After doing some more research, I am pretty sure that the RedHat Manual is wrong... fsid is NOT a valid option in /etc/fstab .

And at least one other person agrees with me:

https://www.redhat.com/archives/naha.../msg00061.html


All times are GMT -5. The time now is 10:51 PM.