Re: Directory size doesn't match contents

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

 



On 6/15/17, 9:20 AM, "John Spray" <jspray@xxxxxxxxxx> wrote:
>
> 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?

I'm using the ceph-fuse client from the 10.2.7-1trusty packages.


> 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?

I tried doing a new ceph-fuse mount on another host running
10.2.7-1trusty and also see the same problem there:

$ ceph-fuse --version
ceph version 10.2.7 (50e863e0f4bc8f4b9e31156de690d765af245185)
[root@b3:/root]$ ls -ld /ceph/Originals
drwxrwxr-x 1 bryan bryan 18446743827041699997 Jun 13 13:27 /ceph/Originals


I then tried mounting it with a newer kernel and rstats don't seem to be
working for that directory or any other directory:

[root@shilling:/root]$ uname -a
Linux shilling 4.8.0-52-generic #55~16.04.1-Ubuntu SMP Fri Apr 28 14:36:29 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[root@shilling:/root]$ ls -ld /ceph-old/{Logs,Music,Originals,Pictures}
drwxrwxr-x 1 bryan bryan 111 Feb 29  2016 /ceph-old/Logs
drwxr-xr-x 1 bryan bryan   5 Feb 17  2012 /ceph-old/Music
drwxrwxr-x 1 bryan bryan   1 Jun 13 13:27 /ceph-old/Originals
drwxr-xr-x 1 bryan bryan  25 Jul  1  2015 /ceph-old/Pictures

I also gave ceph-fuse in kraken a try too:

[root@shilling:/root]$ ceph-fuse --version
ceph version 11.2.0 (f223e27eeb35991352ebc1f67423d4ebc252adb7)
[root@shilling:/root]$ ls -ld /ceph-old/Originals
drwxrwxr-x 1 bryan bryan 18446743827041699997 Jun 13 13:27 /ceph-old/Originals


Thanks,
Bryan

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux