<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body dir="auto">
This is <a href="https://jira.whamcloud.com/browse/LU-8417">https://jira.whamcloud.com/browse/LU-8417</a> "<span style="background-color: rgba(255, 255, 255, 0);">setstripe -o does not work on directories", which has not been implemented yet. </span>
<div><br>
</div>
<div>That said, setting the default striping to specific OSTs on a directory is usually not the right thing to do. That will result in OST imbalance. <br>
<div><br>
</div>
<div>Equivalent mechanisms include OST pools (which also allow a subset of OSTs to be used, unlike -o currently does), and has the benefit of labeling files with the pool to find them easier in the future (eg. for migrating out of the pool).</div>
<div><br>
</div>
<div>What is the end goal that you are trying to achieve?<br>
<br>
<div id="AppleMailSignature">Cheers, Andreas</div>
<div><br>
On Nov 9, 2018, at 09:28, Mohr Jr, Richard Frank (Rick Mohr) <<a href="mailto:rmohr@utk.edu">rmohr@utk.edu</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div><span></span><br>
<blockquote type="cite"><span>On Nov 8, 2018, at 11:44 AM, Ms. Megan Larko <<a href="mailto:dobsonunit@gmail.com">dobsonunit@gmail.com</a>> wrote:</span><br>
</blockquote>
<blockquote type="cite"><span></span><br>
</blockquote>
<blockquote type="cite"><span>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:</span><br>
</blockquote>
<blockquote type="cite">
<blockquote type="cite"><span>lfs setstripe -c 4 -S 1m  -o 1,2-4 custTest/</span><br>
</blockquote>
</blockquote>
<blockquote type="cite"><span>error on ioctl 0x4008669a for 'custTest' (3): Invalid argument</span><br>
</blockquote>
<blockquote type="cite"><span>error: setstripe: create striped file 'custTest' filed: Invalid argument</span><br>
</blockquote>
<span></span><br>
<span>Do you get the same error if you try to run this on a file instead of a directory?  Also, don’t you typically need to add the “-d” option when setting stripe parameters for a directory?</span><br>
<span></span><br>
<span>--</span><br>
<span>Rick Mohr</span><br>
<span>Senior HPC System Administrator</span><br>
<span>National Institute for Computational Sciences</span><br>
<span><a href="http://www.nics.tennessee.edu">http://www.nics.tennessee.edu</a></span><br>
<span></span><br>
<span>_______________________________________________</span><br>
<span>lustre-discuss mailing list</span><br>
<span><a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a></span><br>
<span><a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a></span><br>
</div>
</blockquote>
</div>
</div>
</body>
</html>