<div dir="ltr"><div><div><div><div><div><div><div><div><div>Greetings List!<br><br></div><div>What is the correct invocation of specifying exact stripe layout in Lustre?<br><br></div>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."<br><br></div>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).  <br><br></div><div>The "usage" of "lfs setstripe" in Lustre 2.10.1 shows -o or --ost <ost_indices>.<br></div><div>So all cases indicate "-o" is an acceptable flag for specifying exact stripe layout.<br><br></div>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:<br></div>> lfs setstripe -c 4 -S 1m  -o 1,2-4 custTest/<br></div>error on ioctl 0x4008669a for 'custTest' (3): Invalid argument<br></div>error: setstripe: create striped file 'custTest' filed: Invalid argument<br><br></div><div>Permutation "lfs setstripe -c 4 -S 1m --ost 1,2-4 custTest/" returns same ioctl error.<br><br></div>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.  <br><br></div><div>I noticed the ioctl is always 0x4008669a regardless of the system on which I run the command using -o or --ost or --ost-list.<br><br></div><div>What is the correct invocation for "lfs setstripe" using -o?<br><br></div><div>Cheers,<br></div><div>megan<br></div></div></div>