du result is smaller than xfs_quota report

YeYin eyniy at qq.com
Tue Oct 20 08:30:08 CDT 2015


>What does say
>
>ls -l /data/docker-volumes/docker-15092311522409
>
>is it coherent with du, or xfs_quota?


/data/docker-volumes/docker-15092311522409 is a directory which have a lot of subdirectories,  run 'ls -l' is meaningless. 
'ls -l' and 'du' used  fstat or lstat similar function to get file's size, so ls should be coherent with du.


Thanks,
Ye



------------------ Original ------------------
From:  "Emmanuel Florac";<eflorac at intellique.com>;
Date:  Tue, Oct 20, 2015 07:31 PM
To:  "YeYin"<eyniy at qq.com>; 
Cc:  "xfs"<xfs at oss.sgi.com>; 
Subject:  Re: du result is smaller than xfs_quota report



Le Tue, 20 Oct 2015 17:09:58 +0800
"YeYin" <eyniy at qq.com> écrivait:

> It seems that some blocks owned by project wasn't be freed. Anyone
> can give me some suggestions to find the reason?
> 

What does say

ls -l /data/docker-volumes/docker-15092311522409

is it coherent with du, or xfs_quota?
-- 
------------------------------------------------------------------------
Emmanuel Florac     |   Direction technique
                    |   Intellique
                    |	<eflorac at intellique.com>
                    |   +33 1 78 94 84 02
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20151020/143cd156/attachment.html>


More information about the xfs mailing list