Jason Keltz
2007-03-26 20:29:04 UTC
Hi.
I'm running a RedHat Enterprise 4 system.
I have a question about the fsid option in /etc/exports that I was
hoping someone might be able to help with.
I am working with LVM under Linux. If I export LVM volumes via NFS, the
fsid is based on major/minor number. If I then remove a logical volume
on the NFS server and reboot the server, the major and minor numbers for
the other volumes are adjusted, which of course causes problems for the
existing NFS exports (which either end up stale/pointing to a different
logical volume)! The fsid option would fix this by allowing me to
specify a number independent of major/minor number.
A couple of questions:
1) How do I find out the fsid of an existing export so that I can
"hard-code" it in the /etc/exports file?
2) For filesystems that are not mounted, how do I choose a number that
the system will not try to allocate to a different nfs export that isn't
using the fsid option? Will the system check existing fsids, or it just
allocated the fsid based on a formula?
3) What is the best way for me to generate my own fsid?
Any assistance would be appreciated...
Jason.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - ***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
I'm running a RedHat Enterprise 4 system.
I have a question about the fsid option in /etc/exports that I was
hoping someone might be able to help with.
I am working with LVM under Linux. If I export LVM volumes via NFS, the
fsid is based on major/minor number. If I then remove a logical volume
on the NFS server and reboot the server, the major and minor numbers for
the other volumes are adjusted, which of course causes problems for the
existing NFS exports (which either end up stale/pointing to a different
logical volume)! The fsid option would fix this by allowing me to
specify a number independent of major/minor number.
A couple of questions:
1) How do I find out the fsid of an existing export so that I can
"hard-code" it in the /etc/exports file?
2) For filesystems that are not mounted, how do I choose a number that
the system will not try to allocate to a different nfs export that isn't
using the fsid option? Will the system check existing fsids, or it just
allocated the fsid based on a formula?
3) What is the best way for me to generate my own fsid?
Any assistance would be appreciated...
Jason.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NFS maillist - ***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs