[lustre-discuss] Usage for lfs setstripe -o ost_indices
Ms. Megan Larko
dobsonunit at gmail.com
Thu Nov 8 08:44:11 PST 2018
What is the correct invocation of specifying exact stripe layout in Lustre?
I am attempting to use the --ost | -o option to lfs setstripe. The
Lustre_Operations_Manual as of 16 May 2018 Section 38.1.3 indicates that
--ost-index "option is used to specify the exact stripe layout on the the
[sic] file system. ost_indices is a list of OSTs referenced by their
indices and index ranges separated by commas."
A "man lfs setstripe" in Lustre 2.10.1 shows the -o or --ost-list
<ost_indices> may be a range separated by commas with the example of -o
1,2-4,7 (for -c 5).
The "usage" of "lfs setstripe" in Lustre 2.10.1 shows -o or --ost
So all cases indicate "-o" is an acceptable flag for specifying exact
I have been attempting this command on a directory on a Lustre-2.10.4
storage from a Lustre 2.10.1 client and I fail with the following message:
> lfs setstripe -c 4 -S 1m -o 1,2-4 custTest/
error on ioctl 0x4008669a for 'custTest' (3): Invalid argument
error: setstripe: create striped file 'custTest' filed: Invalid argument
Permutation "lfs setstripe -c 4 -S 1m --ost 1,2-4 custTest/" returns same
I receive exactly the same error when varying the specification of -o (1-4,
1,2,3,4 etc). I have tried using the "lctl dl" index number for the OST
I noticed the ioctl is always 0x4008669a regardless of the system on which
I run the command using -o or --ost or --ost-list.
What is the correct invocation for "lfs setstripe" using -o?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lustre-discuss