Hi Massimo,<div>Since lustre 2.5 (I guess) formatting the OST using the specific parameter it's no more necessary. You should simply enable it using the lctl command.<span></span><br><br>On Tuesday, 12 April 2016, Massimo Sgaravatto <<a href="mailto:massimo.sgaravatto@pd.infn.it">massimo.sgaravatto@pd.infn.it</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Any hints ?<br>
<br>
Should I try to change (using lctl conf_param) the attribute:<br>
<br>
osd-ldiskfs.cmshome-OST0002.quota_slave.enabled<br>
<br>
<br>
on the new OST from 'none' to 'u' to fix the problem ?<br>
<br>
Thanks, Massimo<br>
<br>
<br>
On 08/04/2016 18:40, Massimo Sgaravatto wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
We are running Lustre 2.7.0. We have problems with quota on a filesystem.<br>
<br>
This filesystem was initially composed of a single OST, and at that time<br>
quota was enable on the MDT simply doing:<br>
<br>
lctl conf_param cmshome.quota.ost=u<br>
lctl conf_param cmshome.quota.mdt=u<br>
<br>
Nothing was needed on the OST (besided specifying "--param<br>
ost.quota_type=ug" when formatting).<br>
<br>
Problems started when we added a new OST (OST0002: there is also a<br>
deactived OST0001). This was formatted using "--param ost.quota_type=ug"<br>
but quota is disabled on this OST. [*]<br>
<br>
Do I need to somehow explicitly enable quota on this OST ? How and why ?<br>
<br>
<br>
Thanks a lot, Massimo<br>
<br>
<br>
[*]<br>
<br>
# lfs quota -v -u sgaravat /homeui<br>
Disk quotas for user sgaravat (uid 741):<br>
      Filesystem  kbytes   quota   limit   grace   files   quota   limit<br>
   grace<br>
         /homeui  357356  400000  410000       -       2       0       0<br>
       -<br>
cmshome-MDT0000_UUID<br>
                       0       -       0       -       2       -       0<br>
       -<br>
cmshome-OST0000_UUID<br>
                  355784       -  372168       -       -       -       -<br>
       -<br>
quotactl ost1 failed.<br>
cmshome-OST0002_UUID<br>
                    1572       -       0       -       -       -       -<br>
       -<br>
Total allocated inode limit: 0, total allocated block limit: 372168<br>
Some errors happened when getting quota info. Some devices may be not<br>
working or deactivated. The data in "[]" is inaccurate.<br>
<br>
<br>
<br>
_______________________________________________<br>
lustre-discuss mailing list<br>
<a>lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org" target="_blank">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a><br>
<br>
</blockquote>
<br>
</blockquote></div><br><br>-- <br>www: <a href="http://paciucci.blogspot.com">http://paciucci.blogspot.com</a><br>