Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
the setstripe command gives the output below. In section 19.2.1.1 it shows -o option as -o start_index. This is incorrect. This should be -i
Also nowhere in the manual does it mention a "-b | block" argument as shown in the command help.
[root@Lustre-TG1 lustrefs]# lfs setstripe -o 0-3 -c 4 -d testdir
error: setstripe: cannot specify -d with -s, -c, -o, or -p options
Create a new file with a specific striping pattern or
set the default striping pattern on an existing directory or
delete the default striping pattern from an existing directory
usage: setstripe -d <directory> (to delete default striping)
or
usage: setstripe [--stripe-count|-c <stripe_count>]
[--stripe-index|-i <start_ost_idx>]
[--stripe-size|-S <stripe_size>]
[--pool|-p <pool_name>]
[--block|-b] <directory|filename>
[--ost-list|-o <ost_indices>]
stripe_size: Number of bytes on each OST (0 filesystem default)
Can be specified with k, m or g (in KB, MB and GB
respectively)
start_ost_idx: OST index of first stripe (-1 default)
stripe_count: Number of OSTs to stripe over (0 default, -1 all)
pool_name: Name of OST pool to use (default none)
block: Block file access during data migration
ost_indices: List of OST indices, can be repeated multiple times
Indices be specified in a format of:
-o <ost_1>,<ost_i>-<ost_j>,<ost_n>
Or:
-o <ost_1> -o <ost_i>-<ost_j> -o <ost_n>
If --pool is set with --ost-list, then the OSTs
must be the members of the pool.