<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 &quot;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.&quot;<br><br></div>A &quot;man lfs setstripe&quot; in Lustre 2.10.1 shows the -o or --ost-list &lt;ost_indices&gt; may be a range separated by commas with the example of -o 1,2-4,7 (for -c 5).  <br><br></div><div>The &quot;usage&quot; of &quot;lfs setstripe&quot; in Lustre 2.10.1 shows -o or --ost &lt;ost_indices&gt;.<br></div><div>So all cases indicate &quot;-o&quot; 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>&gt; lfs setstripe -c 4 -S 1m  -o 1,2-4 custTest/<br></div>error on ioctl 0x4008669a for &#39;custTest&#39; (3): Invalid argument<br></div>error: setstripe: create striped file &#39;custTest&#39; filed: Invalid argument<br><br></div><div>Permutation &quot;lfs setstripe -c 4 -S 1m --ost 1,2-4 custTest/&quot; 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 &quot;lctl dl&quot; 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 &quot;lfs setstripe&quot; using -o?<br><br></div><div>Cheers,<br></div><div>megan<br></div></div></div>