Re: Fwd: CephFS : check if rados objects are linked to inodes

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

 



On Thu, Oct 1, 2015 at 12:35 PM, Florent B <florent@xxxxxxxxxxx> wrote:
> Thank you John, I think about it. I did :
>
> # get inodes in pool
> rados -p my_pool ls | cut -d '.' -f 1 | uniq
> -u                                         # returns 132886 unique inodes
>
> # get inodes in cephfs
> find . -printf 'ibase=10;obase=16;%i\n' | bc | tr '[:upper:]'
> '[:lower:]'  # returns 7169 inodes
>
> But, I would like to be sure that inodes from rados pool are not linked
> in CephFS metadata somewhere... I don't know, it could be possible, no ?
>
> Is there a way to print "readable" CephFS metadatas ?

There is the extra case of a "stray" inodes (not visible to mounts),
but those are just hard links (which would be visible in your client
mount) or part-way-deleted files (where it doesn't matter if you
delete their data objects).

John
_______________________________________________
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