metadata buddy mirroring multiple groups

31 views
Skip to first unread message

dennis kennetz

unread,
Jun 2, 2022, 5:46:42 PM6/2/22
to beegfs-user
can I add additional metadata buddy groups to a root directory? I am seeing the following behavior:

[dkennetz@ip-xxx  workspace]$ beegfs-ctl --listmirrorgroups --nodetype=metadata
     BuddyGroupID     PrimaryNodeID   SecondaryNodeID
     ============     =============   ===============
                1                              1                               2
                2                              3                               4

$ beegfs-ctl --serverstats --perserver --nodetype=metadata

nodeID   reqs   qlen bsy
     1   8136    181 128
     2   7959      0   0
     3      0      0   0
     4      0      0   0

===== time index: 1654206020 =====

nodeID   reqs   qlen bsy
     1   7841    192 128
     2   7701      0   0
     3      0      0   0
     4      0      0   0
...

Where node 1 and node 2 are in a buddy mirror group and node 3 and node 4 are in a buddy mirror group. my root has metadata buddy group 1 specified:

$ beegfs-ctl --getentryinfo /test
EntryID: root
Metadata buddy group: 1
Current primary metadata node: ip-xxx [ID: 1]
Stripe pattern details:
+ Type: Buddy Mirror
+ Chunksize: 1M
+ Number of storage targets: desired: 4
+ Storage Pool: 1 (Default)

I want to reduce the qlen by splitting metadata traffic to both buddy groups, but I don't know how to utilize both groups. All subdirectories of root are also in buddy group 1, so I'd also be okay with creating subdirs in mirror group 2.

Any help would be appreciated!
Dennis

Guan Xin

unread,
Jun 4, 2022, 12:47:59 AM6/4/22
to beegfs-user
beegfs-ctl --createdir --nodes=2 dir_on_meta_group_2
Reply all
Reply to author
Forward
0 new messages