Hello to everyone.<div><br></div><div>We have a lustre (v1.8.4) test cluster with 2 MDSs, 2OSSs and 4 Clients.</div><div><br></div><div>I am experimenting with the quotas but something seems to not work.</div><div><br></div>
<div>In first I did a </div><div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>cli1# lfs quotacheck /lustre</div>cli1# lfs quotaon -ug /lustre<br>cli1# lfs quota /lustre<div><br></div></blockquote>
To get ::</div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Disk quotas for user root (uid 0):</div><div>     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace</div>
<div>/lustre/jtest1/     [0]       0       0       -     [0]       0       0       -</div><div>Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.</div>
<div>Disk quotas for group root (gid 0):</div><div>     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace</div><div>/lustre/jtest1/     [0]       0       0       -     [0]       0       0       -</div>
<div>Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.</div></div><div><br></div></blockquote>So I tried ::</div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div>mds2# cat /proc/fs/lustre/lquota/jtest1-MDT0000/quota_type</div><div>>> ug3</div><div>oss1# cat /proc/fs/lustre/lquota/jtest1-OST000{1,3}/quota_type</div>>> ug3</blockquote></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div>>> ug3</div></blockquote><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>oss2# cat /proc/fs/lustre/lquota/jtest1-OST000{0,2}/quota_type<br>>> ug3</div>>> ug3<br><br></blockquote>
Then I tried ::</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>cli1# lfs quotaon -ugf /lustre</div></div><div><div>cli1# lfs quota /lustre</div></div><div><div>>>user quotas are not enabled.</div>
<div>>>group quotas are not enabled.</div></div><div><div>mds2# cat /proc/fs/lustre/lquota/jtest1-MDT0000/quota_type<br>>> 3<br>oss1# cat /proc/fs/lustre/lquota/jtest1-OST000{1,3}/quota_type<br>>> 3</div>
>> 3<div>oss2# cat /proc/fs/lustre/lquota/jtest1-OST000{0,2}/quota_type<br>>> 3<br>>> 3</div></div><div><br></div></blockquote>And then again ::<div><br><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"></blockquote></div></blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>cli1# lfs quotaon -ug /lustre</div><div>cli1# lfs quota /lustre</div>
<div><div><div>>> Disk quotas for user root (uid 0):</div><div>     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace</div><div>>> /lustre/jtest1/     [0]       0       0       -     [0]       0       0       -</div>
<div>>> Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.</div><div>>> Disk quotas for group root (gid 0):</div><div>     Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace</div>
<div>>> /lustre/jtest1/     [0]       0       0       -     [0]       0       0       -</div><div>>> Some errors happened when getting quota info. Some devices may be not working or deactivated. The data in "[]" is inaccurate.</div>
</div></div><div><div>mds2# cat /proc/fs/lustre/lquota/jtest1-MDT0000/quota_type<br>>> ug3<br>oss1# cat /proc/fs/lustre/lquota/jtest1-OST000{1,3}/quota_type<br>>> ug3</div>>> ug3<div>oss2# cat /proc/fs/lustre/lquota/jtest1-OST000{0,2}/quota_type<br>
>> ug3<br>>> ug3</div></div><div><br></div><div><br></div></blockquote>So I would like to make a few questions in case anyone knows.</div></div><div><br></div><div>First of all is this a known issue, or am I doing something wrong here? I am forcing the quotaon and that reacts as if I did a quotaoff.</div>
<div><br></div><div>Furthermore I would like to ask about this number 3 in the quota_type files in case anyone knows what does it mean and why is this necessary.</div><div><br></div><div>Finally if I am not doing something wrong here, is there a way to fix this ?</div>
<div><br></div><div>Thank you in advance for your time and any replies/guidance/directions.</div><div><br></div><div>Stelios.</div>