Another thing to think about is does he perhaps own files outside of his directory? The quota is on the volume but you are only doing du on the directory.

Even if he's not aware of it, things can happen like people using rsync and preserving ownership. The original owner's usage then goes up.

Scott

On 5/20/2015 3:50 AM, Phill Harvey-Smith wrote:
Hi all,

One of my users is reporting a massive size difference between the
figures reported by du and quota.

doing a du -hs on his directory reports :
  du -hs .
529G    .

doing a lfs quota -u username /storage reports
Filesystem  kbytes   quota   limit   grace   files   quota   limit   grace
/storage 621775192  640000000 640010000       -  601284  1000000 1100000
       -

Though this user does have a lot of files :

find . -type f | wc -l
581519

So I suspect that it is the typical thing that quota is reporting used
blocks whilst du is reporting used bytes, which can of course be wildly
different due to filesystem overhead and wasted unused space at the end
of files where a block is allocated but only partially used.

Is this likely to be the case ?

I'm also not entirely sure what versions of lustre the client machines
and MDS / OSS servers are running, as I didn't initially set the system up.

Cheers.

Phill.

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to