Thank you for your answer,<div><br></div><div>About the results quotacheck gives. </div><div><br></div><div>In our production system we are using v1.8.4 and we have enabled the quotas per user and group. So I tried the following commands for a specific group and its users ::</div>
<div><br></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div># lfs quota -g group_name /lustre/</div><div>Disk quotas for group group_name (gid 8863):</div><div>     Filesystem  kbytes              quota                limit                  grace   files        quota      limit         grace</div>
<div>     /lustre/        44291610536  104857600000 104910028800 -          176573  2000000 2200000  -</div><div><br></div><div># lfs quota -u user5 /lustre/</div><div>Disk quotas for user user5 (uid 7511):</div><div>     Filesystem  kbytes                  quota   limit   grace   files      quota  limit   grace</div>
<div>     /lustre/        32131767752       0         0        -          65139   0        0       -</div><div><br></div><div># lfs quota -u user2 /lustre/</div><div>Disk quotas for user user2 (uid 8874):</div><div>     Filesystem  kbytes                  quota limit   grace   files       quota limit   grace</div>
<div>     /lustre/        12159883112       0       0       -           112054 0        0       -</div><div><br></div><div># lfs quota -u user3 /lustre/</div><div>Disk quotas for user user3 (uid 8875):</div><div>     Filesystem  kbytes  quota limit   grace files quota  limit   grace</div>
<div>     /lustre/        152       0       0       -         5     0         0       -</div><div><br></div><div># lfs quota -u user1 /lustre/</div><div>Disk quotas for user user1 (uid 8873):</div><div>     Filesystem kbytes quota limit grace files quota limit grace</div>
<div>     /lustre/       68       0        0      -        5     0        0      -</div><div><br></div><div># lfs quota -u user0 /lustre/</div><div>Disk quotas for user user0 (uid 8864):</div><div>     Filesystem kbytes quota limit grace files quota limit grace</div>
<div>     /lustre/       4          0        0     -        1     0         0     -</div><div><br></div><div># lfs quota -u user4 /lustre/</div><div>Disk quotas for user user4 (uid 8890):</div><div><div>     Filesystem kbytes quota limit grace files quota limit grace</div>
<div>     /lustre/       4          0        0     -        1     0         0     -</div></div><div><br></div><div># lfs quota -u user6 /lustre/</div><div>Disk quotas for user user6 (uid 8037):</div><div><div>     Filesystem kbytes quota limit grace files quota limit grace</div>
<div>     /lustre/       4          0        0     -        1     0         0     -</div></div><div><br></div><div># lfs quota -u user7 /lustre/</div><div>Disk quotas for user user7 (uid 9319):</div><div>     Filesystem kbytes quota limit grace files quota  limit grace</div>
<div>     /lustre/       4          0       0      -        1     0         0      -</div></div><div><br></div><div><br></div></blockquote>But when I accumulated all the users amount of files that was larger of the group's amount of files ::</div>
<div><br></div><div>176573 -(65139 +112054 +5 +5 +1 +1 +1 +1) = -634</div><div><br></div><div>Respectively there was a difference on the amount of kB. </div><div><br></div><div>Shouldn't the accumulated quotas be the same for the group and its users? </div>
<div><br></div><div>Does this mean that the quotas are not coherent and I have to run quotacheck again? </div><div><br></div><div>Thank you in advance for any reply/guidance,</div><div>Stelios.</div><div><br></div><div><br>
</div><div><div class="gmail_quote">On Wed, Jan 23, 2013 at 8:10 AM, Adrian Ulrich <span dir="ltr"><<a href="mailto:adrian@blinkenlights.ch" target="_blank">adrian@blinkenlights.ch</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div><br>
<br>
> But apart from that, when else is quotaceck required? For example is there<br>
> any case where the quotas will not be coherent? And have to run quotacheck<br>
> again in order to recheck them?<br>
<br>
</div>Lustre versions prior to 1.6.5 required you to run quotacheck after server crashes.<br>
Recent versions (1.8, 2.x) use journaled quotas and will survive crashes just fine.<br>
<br>
We are running Lustre 1.8 and 2.2 servers and i never had to re-run quotacheck on them.<br>
<div><br>
<br>
<br>
> Secondly, inside the operations manual v1.8.4 section 9.1.2 it states that<br>
> the required time for quotacheck to complete its task, is proportional to<br>
> amount of files in the fs. So is there a practical way to get an indication<br>
> of the amount of time quotacheck will need?<br>
<br>
</div>I can't give you exact timings (or a formula) but it's pretty fast:<br>
<br>
We enabled quotas on our 1.8.x system while about 100TB were already used.<br>
(Medium sized files). The initial `quotacheck' run finished within 30 minutes.<br>
<br>
<br>
<br>
Regards,<br>
 Adrian<br>
<span><font color="#888888"><br>
<br>
--<br>
 RFC 1925:<br>
   (11) Every old idea will be proposed again with a different name and<br>
        a different presentation, regardless of whether it works.<br>
<br>
</font></span></blockquote></div><br></div>