Re: du result is smaller than xfs_quota report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Oct 20, 2015, at 4:09 AM, YeYin <eyniy@xxxxxx> wrote:
> 
> Hi, all,
> I encountered some problems when I used XFS with project quota:
> 
> # cat /etc/projid 
> docker-15091421396426:65061
> docker-15092311522409:26286
> docker-15101215637294:14162
> 
> # cat /etc/projects 
> 65061:/data/docker-volumes/docker-15091421396426
> 26286:/data/docker-volumes/docker-15092311522409
> 14162:/data/docker-volumes/docker-15101215637294
> 
> # xfs_quota -xc 'report -h' /data          
> Project quota on /data (/dev/sda4)
>                         Blocks              
> Project ID   Used   Soft   Hard Warn/Grace   
> ---------- --------------------------------- 
> docker-15091421396426   1.0G      0   100G  00 [------]
> docker-15092311522409 371.5G      0   700G  00 [------]
> docker-15101215637294 920.8M      0   400G  00 [------]
> 
> # du -sh /data/docker-volumes/docker-15092311522409 
> 200G    /data/docker-volumes/docker-15092311522409
> 
> As we can see,  du's result(200G) is smaller than xfs_quota report.
> 
Is anything mounted under that directory hierarchy, and hiding files from du's view?

Eric
_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs



[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux