Whamcloud - gitweb
LU-611 utils: lfs find --stripe-{count,size,index}
[fs/lustre-release.git] / lustre / doc / lfs.1
index d5d8d44..4e093e7 100644 (file)
@@ -13,23 +13,26 @@ lfs \- Lustre utility to create a file with specific striping pattern, find the
 .br
 .B lfs df [-i] [-h] [--pool|-p <fsname>[.<pool>] [path]
 .br
-.B lfs find [[!] --atime|-A [-+]N] [[!] --mtime|-M [-+]N]
-        \fB[[!] --ctime|-C [-+]N] [--maxdepth|-D N] [--name|-n pattern]
-        \fB[--print|-p] \fB[--print0|-P] [[!] --obd|-O <uuid[s]>]
-        \fB[[!] --size|-S [-+]N[kMGTPE]] [--type |-t {bcdflpsD}]
-        \fB[[!] --gid|-g|--group|-G <gname>|<gid>]
-        \fB[[!] --uid|-u|--user|-U <uname>|<uid>]
-        \fB<directory|filename>\fR
+.B lfs find <directory|filename>
+        \fB[[!] --atime|-A [-+]N] [[!] --mtime|-M [-+]N] [[!] --ctime|-C [+-]N]
+        \fB[--maxdepth|-D N] [[!] --mdt|-m <uuid|index,...>] [--name|-n pattern]
+        \fB[[!] --ost|-O <uuid|index,...>] [--print|-p] [--print0|-P]
+        \fB[[!] --size|-s [-+]N[kMGTPE]]
+        \fB[[!] --stripe-count|-c [+-]<stripes>]
+        \fB[[!] --stripe-index|-i <index,...>]
+        \fB[[!] --stripe-size|-S [+-]N[kMG]]
+        \fB[--type |-t {bcdflpsD}] [[!] --gid|-g|--group|-G <gname>|<gid>]
+        \fB[[!] --uid|-u|--user|-U <uname>|<uid>] [[!] --pool <pool>]\fR
 .br
 .B lfs getname [-h]|[path ...]
 .br
 .B lfs getstripe [--obd|-O <uuid>] [--quiet|-q] [--verbose|-v] 
-        \fB[--count | -c ] [--index | -i | --offset | -o ]
-        \fB[--size | -s ] [--pool | -p ] [--directory | -d ]
-        \fB[--recursive | -r] [--raw|-R] <dirname|filename> ...\fR
+        \fB[--stripe-count|-c ] [--stripe-index|-i] [--mdt-index|-M]
+        \fB[--stripe-size|-S] [--directory|-d]
+        \fB[--pool|-p] [--recursive|-r] [--raw|-R] <dirname|filename> ...\fR
 .br
-.B lfs setstripe [--size|-s stripe-size] [--count|-c stripe-cnt]
-        \fB[--index|-i|--offset|-o start_ost_index ] [--pool|-p <pool>]
+.B lfs setstripe [--stripe-size|-S stripe_size] [--stripe-count|-c stripe_count]
+        \fB[--stripe-index|-i start_ost_index ] [--pool|-p <poolname>]
         \fB<directory|filename>\fR
 .br
 .B lfs setstripe -d <dir>
@@ -159,8 +162,8 @@ can be used to limit the information, like
 You can limit the returned files to those with objects on a specific OST with
 .BR --obd .
 .TP
-.B setstripe [--count|-c stripe_cnt] [--size|-s stripe_size]
-        \fB[--index|-i|--offset|-o start_ost_index] [--pool <pool>]
+.B setstripe [--stripe-count|-c stripe_count] [--stripe-size|-S stripe_size]
+        \fB[--stripe-index|-i start_ost_index] [--pool <poolname>]
         \fB<dirname|filename>\fR
 .br
 To create a new file, or set the directory default, with the specified striping parameters.  The
@@ -173,7 +176,7 @@ of -1 means to stripe over all available OSTs.  The
 .I stripe_size
 is the number of bytes to store on each OST before moving to the next OST.  A
 .I stripe_size
-of 0 means to use the filesystem-wide default stripe size (default 1MB).  The
+of 0 means to use the filesystem-wide default stripe_size (default 1MB).  The
 .I start_ost_index
 is the OST index (starting at 0) on which to start striping for this file.  A
 .I start_ost_index