summaryrefslogtreecommitdiff
path: root/Documentation/filesystems/exofs.txt
diff options
context:
space:
mode:
authorBoaz Harrosh <bharrosh@panasas.com>2011-01-31 15:32:14 +0300
committerBoaz Harrosh <bharrosh@panasas.com>2011-03-15 16:02:51 +0300
commit9ed96484311b89360b80a4181d856cbdb21630fd (patch)
treeef372f43e6bfdf86d273d80491e7de801b69395f /Documentation/filesystems/exofs.txt
parent66cd6cad4919f980dd21307d0150ff251762a264 (diff)
downloadlinux-9ed96484311b89360b80a4181d856cbdb21630fd.tar.xz
exofs: Add option to mount by osdname
If /dev/osd* devices are shuffled because more devices where added, and/or login order has changed. It is hard to mount the FS you want. Add an option to mount by osdname. osdname is any osd-device's osdname as specified to the mkfs.exofs command when formatting the osd-devices. The new mount format is: OPT="osdname=$UUID0,pid=$PID,_netdev" mount -t exofs -o $OPT $DEV_OSD0 $MOUNTDIR if "osdname=" is specified in options above $DEV_OSD0 is ignored and can be empty. Also while at it: Removed some old unused Opt_* enums. Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'Documentation/filesystems/exofs.txt')
-rw-r--r--Documentation/filesystems/exofs.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/filesystems/exofs.txt b/Documentation/filesystems/exofs.txt
index abd2a9b5b787..23583a136975 100644
--- a/Documentation/filesystems/exofs.txt
+++ b/Documentation/filesystems/exofs.txt
@@ -104,7 +104,15 @@ Where:
exofs specific options: Options are separated by commas (,)
pid=<integer> - The partition number to mount/create as
container of the filesystem.
- This option is mandatory.
+ This option is mandatory. integer can be
+ Hex by pre-pending an 0x to the number.
+ osdname=<id> - Mount by a device's osdname.
+ osdname is usually a 36 character uuid of the
+ form "d2683732-c906-4ee1-9dbd-c10c27bb40df".
+ It is one of the device's uuid specified in the
+ mkfs.exofs format command.
+ If this option is specified then the /dev/osdX
+ above can be empty and is ignored.
to=<integer> - Timeout in ticks for a single command.
default is (60 * HZ) [for debugging only]