[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ceph-users
Subject:    [ceph-users] ceph tell mds.0 dirfrag split - syntax of the "frag" argument
From:       "Alexander E. Patrakov" <patrakov () gmail ! com>
Date:       2024-05-15 6:22:52
Message-ID: CAN_LGv2rGk_GJbq9RVpMkU7f7SRu3c0FuFYW6h+ir+wXSYCxbQ () mail ! gmail ! com
[Download RAW message or body]

Hello,

In the context of https://tracker.ceph.com/issues/64298, I decided to
do something manually. In the help output of "ceph tell" for an MDS, I
found these possibly useful commands:

dirfrag ls <path>: List fragments in directory
dirfrag merge <path> <frag>: De-fragment directory by path
dirfrag split <path> <frag> <bits:int>: Fragment directory by path

They accept the "frag" argument that is underdocumented. In the
testsuite, they are used, and it seems like this argument accepts some
notation containing a slash, which is also produced as "str" by
"dirfrag ls".

Can anyone explain the meaning of the parts before and after the
slash? What is the relation between the accepted values for "dirfrag
split" and the output of "dirfrag ls" - do I just feed the fragment
from "dirfrag ls" to "dirfrag split" as-is? Is running "dirfrag split"
manually safe on a production cluster?

Thanks in advance.

-- 
Alexander Patrakov
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic