How do i check the status of object storage daemon (osd) on ceph?
-
Link: http://docs.ceph.com/docs/master/rados/operations/monitoring-osd-pg/
The result should tell you the map epoch (eNNNN), the total number of OSDs (x), how many are up (y) and how many are in (z).
$ ceph osd stat osdmap e24: 9 osds: 9 up, 9 in flags sortbitwise
You can further drill down to see what's running and not running.
$ ceph osd tree ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY -1 0.84320 root default -2 0.28107 host osd-node2 0 0.09369 osd.0 up 1.00000 1.00000 5 0.09369 osd.5 up 1.00000 1.00000 8 0.09369 osd.8 up 1.00000 1.00000 -3 0.28107 host osd-node3 2 0.09369 osd.2 up 1.00000 1.00000 4 0.09369 osd.4 up 1.00000 1.00000 7 0.09369 osd.7 up 1.00000 1.00000 -4 0.28107 host osd-node1 1 0.09369 osd.1 up 1.00000 1.00000 3 0.09369 osd.3 up 1.00000 1.00000 6 0.09369 osd.6 up 1.00000 1.00000
© Lightnetics 2024