Re: Upgrade tips from Luminous to Nautilus?

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

 



You can check the remaining active daemons if they have pinned subtrees:

ceph daemon mds.daemon-a get subtrees | jq '.[] | [.dir.path, .auth_first]'
[
  "/dir1/subdir1",
  6
]
[
  "",
  0
]
[
  "~mds6",
  6
]

If there's no pinning enabled it should probably look like this:

[
  "",
  0
]
[
  "~mds0",
  0
]
[
  "/dir2",
  0
]


If you mount the cephfs root directory you can check the subdirectories with getfattr:

host:~ # getfattr -n ceph.dir.pin /mnt/dir1/subdir1
getfattr: Removing leading '/' from absolute path names
# file: mnt/dir1/subdir1
ceph.dir.pin="1"


Does that help?

Zitat von Mark Schouten <mark@xxxxxxxx>:

On Tue, May 11, 2021 at 08:47:26AM +0000, Eugen Block wrote:
I don't have a Luminous cluster at hand right now but setting max_mds to 1
already should take care and stop MDS services. Do you have have pinning
enabled (subdirectories pinned to a specific MDS)?

Not on this cluster, AFAIK. How can I check that?

--
Mark Schouten     | Tuxis B.V.
KvK: 74698818     | http://www.tuxis.nl/
T: +31 318 200208 | info@xxxxxxxx


_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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