Sample Header Ad - 728x90

How to delete a invalid osd in ceph cluster?

4 votes
3 answers
1963 views
[root@dev-master ceph-cluster]# ceph osd tree ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY -1 0.01740 root default -4 0.00580 host osd2 0 0.00580 osd.0 down 0 1.00000 -5 0.00580 host osd3 1 0.00580 osd.1 down 0 1.00000 -6 0.00580 host osd1 2 0.00580 osd.2 down 0 1.00000 5 0 osd.5 up 0 1.00000 [root@dev-master ceph-cluster]# ceph osd out 5 osd.5 is already out. [root@dev-master ceph-cluster]# ceph osd crush remove osd.5 device 'osd.5' does not appear in the crush map [root@dev-master ceph-cluster]# ceph auth del osd.5 entity osd.5 does not exist [root@dev-master ceph-cluster]# ceph osd rm 5 Error EBUSY: osd.5 is still up; must be down before removal. But I could not find the osd.5 in any host.
Asked by Inuyasha (41 rep)
Dec 21, 2016, 07:07 PM
Last activity: Apr 11, 2023, 08:24 PM