Greetings List! 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 <ost_indices>. So all cases indicate "-o" is an acceptable flag for specifying exact stripe layout. 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 ioctl error. 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 desired--nope. 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? Cheers, megan
_______________________________________________ lustre-discuss mailing list lustre-discuss@lists.lustre.org http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org