Find out num of PGs that would go offline on OSD shutdown
Hi all, Proxmox VE warns me if I want to shut down an OSD, and some PGs would go offline if I continue. In the warning it tells me the exact number of affected PGs. I have now searched a bit, but wasn't able to find out how Proxmox knows the exact number. How can that be done on the CLI? Thanks for some hints. -- Andre Tann
Hi, Am 1/10/25 um 10:40 schrieb Andre Tann:
Proxmox VE warns me if I want to shut down an OSD, and some PGs would go offline if I continue. In the warning it tells me the exact number of affected PGs.
ceph osd ok-to-stop will show you a list of affected PGs. Regards -- Robert Sander Heinlein Consulting GmbH Schwedter Str. 8/9b, 10119 Berlin https://www.heinlein-support.de Tel: 030 / 405051-43 Fax: 030 / 405051-19 Amtsgericht Berlin-Charlottenburg - HRB 220009 B Geschäftsführer: Peer Heinlein - Sitz: Berlin
Hi, there's a check for multiple services (mon, osd, mds), here's how a osd check would look like: ceph osd ok-to-stop 0 -f json | jq { "ok_to_stop": true, "osds": [ 0 ], "num_ok_pgs": 135, "num_not_ok_pgs": 0, "ok_become_degraded": [ "1.0", "2.1", ... Regards, Eugen Zitat von Andre Tann <atann@alphasrv.net>:
Hi all,
Proxmox VE warns me if I want to shut down an OSD, and some PGs would go offline if I continue. In the warning it tells me the exact number of affected PGs.
I have now searched a bit, but wasn't able to find out how Proxmox knows the exact number. How can that be done on the CLI?
Thanks for some hints. -- Andre Tann _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Hi Eugen, Am 10.01.25 um 10:47 schrieb Eugen Block:
ceph osd ok-to-stop 0 -f json | jq { "ok_to_stop": true, "osds": [ 0 ], "num_ok_pgs": 135, "num_not_ok_pgs": 0, "ok_become_degraded": [ "1.0", "2.1",
This is exactly it, thanks for the hint, also to Robert who pointed in the same direction. Cheers! -- Andre Tann
participants (3)
-
Andre Tann
-
Eugen Block
-
Robert Sander