mds directory pinning, status display

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

 



hi there,

while debugging metadata servers reporting slow requests, we took a stab
at pinning directories of a cephfs like so:

setfattr -n ceph.dir.pin -v 1 /tubfs/kubernetes/
setfattr -n ceph.dir.pin -v 0 /tubfs/profiles/
setfattr -n ceph.dir.pin -v 0 /tubfs/homes

on the active mds for rank 0, we can see all pinnings like expected:

ceph daemon /var/run/[rank0].asok get subtrees | jq -c
'.[]|select(.dir.path|contains("/"))|[.dir.path, .export_pin, .auth_first]'
["/kubernetes",1,1]
["/homes",0,0]
["/profiles",0,0]

while the active mds for rank 1 reports back its own pinnings only:

ceph daemon /var/run/[rank1].asok get subtrees | jq -c
'.[]|select(.dir.path|contains("/"))|[.dir.path, .export_pin, .auth_first]'
["/kubernetes",1,1]
["/.ctdb",-1,1]

is this to be expected? anecdotical data indicate that the pinning does
work as intended.

thank you very much & with kind regards,
thoralf.

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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