summaryrefslogtreecommitdiffstats
path: root/utils/exportfs
diff options
context:
space:
mode:
authorneilbrown <neilbrown>2004-02-24 03:32:30 +0000
committerneilbrown <neilbrown>2004-02-24 03:32:30 +0000
commit7b8b7f8f47892f38432fda434ea8d84fa87a9360 (patch)
tree693a6f9402a6e2b870d5eed292557b549a3eafaf /utils/exportfs
parentb7f4ad19f9b3b8e0f93da719a86d0e865be5ab75 (diff)
downloadnfs-utils-7b8b7f8f47892f38432fda434ea8d84fa87a9360.tar.gz
nfs-utils-7b8b7f8f47892f38432fda434ea8d84fa87a9360.tar.xz
nfs-utils-7b8b7f8f47892f38432fda434ea8d84fa87a9360.zip
Document fsid=
Diffstat (limited to 'utils/exportfs')
-rw-r--r--utils/exportfs/exports.man22
1 files changed, 22 insertions, 0 deletions
diff --git a/utils/exportfs/exports.man b/utils/exportfs/exports.man
index 6223944..034a896 100644
--- a/utils/exportfs/exports.man
+++ b/utils/exportfs/exports.man
@@ -256,6 +256,28 @@ If a path is given (e.g.
then the nominted path must be a mountpoint for the exportpoint to be
exported.
+.TP
+.IR fsid= num
+This option forces the filesystem identification portion of the file
+handle and file attributes used on the wire to be
+.I num
+instead of a number derived from the major and minor number of the
+block device on which the filesystem is mounted. Any 32 bit number
+can be used, but it must be unique amongst all the exported filesystems.
+
+This can be useful for NFS failover, to ensure that both servers of
+the failover pair use the same NFS file handles for the shared filesystem
+thus avoiding stale file handles after failover.
+
+Some Linux filesystems are not mounted on a block device; exporting
+these via NFS requires the use of the
+.I fsid
+option (although that may still not be enough).
+
+The value 0 has a special meaning when use with NFSv4. NFSv4 has a
+concept of a root of the overall exported filesystem. The export point
+exported with fsid=0 will be used as this root.
+
.SS User ID Mapping
.PP
.I nfsd