Re: Find out num of PGs that would go offline on OSD shutdown

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

 



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@xxxxxxxxxxxx>:

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@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx


_______________________________________________
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