<div dir="ltr"><div dir="ltr">Responding to A. Dilger (orig e-mail copied below)<br></div><div>I am not sure what the overall objective is trying to achieve in specifically identifying to which OSTs to write; it was a question from one in our user community.   I am not able to specify -o to an existing file.  I have not tried to use the lustrelibapi to specify OST layout during the write.   <br><br></div><div>I concur that LU-8417 points out a very significant disadvantage to having users employ the -o option to "lfs setstripe" and that using Lustre Pools is a better idea for the file system. (I'm speculating that perhaps the users themselves want to be able to create such Lustre Pool-like areas and currently only sysadmins may create Lustre Pools.  Avoid the middle-man/woman!  Smile!) <br><br></div><div>Let me get back to my users to better understand what it is that needs to be done causing them to wish to invoke the -o option to "lfs set-stripe".<br><br></div><div>Thanks,<br></div><div>megan<br></div><div dir="ltr"><br>A. Dilger wrote:<br><div class="gmail-aju"><div class="gmail-aCi"><img id="gmail-:0_19-e" name=":0" src="https://ssl.gstatic.com/ui/v1/icons/mail/profile_mask2.png" class="gmail-ajn" style="background-color: rgb(164, 194, 244);"></div></div><div class="gmail-gs"><div class="gmail-gE gmail-iv gmail-gt"><table class="gmail-cf gmail-gJ" cellpadding="0"><tbody><tr class="gmail-acZ"><td class="gmail-gF gmail-gK"><table class="gmail-cf gmail-ix" cellpadding="0"><tbody><tr><td class="gmail-c2"><h3 class="gmail-iw"><span class="gmail-qu" tabindex="-1"><span name="Andreas Dilger" class="gmail-gD">Andreas Dilger</span> </span></h3></td></tr></tbody></table></td><td class="gmail-gH gmail-bAk"><div class="gmail-gK"><span></span><span id="gmail-:y8" class="gmail-g3" title="Nov 9, 2018, 12:51 PM" alt="Nov 9, 2018, 12:51 PM" tabindex="-1">12:51 PM (2 hours ago)</span></div></td></tr></tbody></table></div></div><table class="gmail-cf gmail-gJ" cellpadding="0"><tbody><tr class="gmail-acZ"><td class="gmail-gH"><br></td><td class="gmail-gH gmail-acX gmail-bAm" rowspan="2"><br></td></tr></tbody></table><table class="gmail-cf gmail-gJ" cellpadding="0"><tbody><tr class="gmail-acZ gmail-xD"></tr></tbody></table><table class="gmail-cf gmail-gJ" cellpadding="0"><tbody><tr class="gmail-acZ gmail-xD"><td colspan="3"><table class="gmail-cf gmail-adz" cellpadding="0"><tbody><tr><td class="gmail-ady"><div class="gmail-iw gmail-ajw"><span class="gmail-hb">to <span dir="ltr" name="Mohr" class="gmail-g2">Mohr</span>, <span dir="ltr" name="me" class="gmail-g2">me</span>, <span dir="ltr" name="Lustre" class="gmail-g2">Lustre</span> </span></div><div class="gmail-ajy" tabindex="0"><img class="gmail-ajz" id="gmail-:yi" src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr></tbody></table></td></tr></tbody></table><div class="gmail-adM">



</div>
This is <a href="https://jira.whamcloud.com/browse/LU-8417" target="_blank">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>
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>
What is the end goal that you are trying to achieve?<br>
<br>
Cheers, Andreas</div></div>