Re: jewel/CephFS - misc problems (duplicate strays, mismatch between head items and fnode.fragst)

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

 



Hi

On Fri, Oct 7, 2016 at 6:31 AM, Yan, Zheng <ukernel@xxxxxxxxx> wrote:
On Fri, Oct 7, 2016 at 8:20 AM, Kjetil Jørgensen <kjetil@xxxxxxxxxxxx> wrote:
> And - I just saw another recent thread -
> http://tracker.ceph.com/issues/17177 - can be an explanation of most/all of
> the above ?
>
> Next question(s) would then be:
>
> How would one deal with duplicate stray(s)

Here is an untested method

list omap keys in objects 600.00000000 ~ 609.00000000. find all duplicated keys

for each duplicated keys, use ceph-dencoder to decode their values,
find the one has the biggest version and delete the rest
(ceph-dencoder type inode_t skip 9 import /tmp/ decode dump_json)

If I do this - should I turn off any active ceph-mds while/when doing so ?

Cheers,
--
Kjetil Joergensen <kjetil@xxxxxxxxxxxx>
SRE, Medallia Inc
Phone: +1 (650) 739-6580
_______________________________________________
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