Re: Directory size doesn't match contents

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

 



On Wed, Jun 14, 2017 at 4:31 PM, Bryan Stillwell <bstillwell@xxxxxxxxxxx> wrote:
> I have a cluster running 10.2.7 that is seeing some extremely large directory sizes in CephFS according to the recursive stats:
>
> $ ls -lhd Originals/
> drwxrwxr-x 1 bryan bryan 16E Jun 13 13:27 Originals/

What client (and version of the client) are you using?

rstats being out of date is a known issue, but getting a completely
bogus value like this is not.

Do you get the correct value if you mount a new client and look from there?

John

> du reports a much smaller (and accurate) number:
>
> $ du -sh Originals/
> 300G    Originals/
>
> This directory recently saw some old rsync temporary files re-appear that I have since removed.  Perhaps that could be related?
>
> Thanks,
> Bryan
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux