We had a power cut on our data site last week, after managing to bring the cloud up again just one error remains, one osd has the message “No block devices detected using current configuration”.
I would like to know what is the best way to proceed here, I would proffer to remove that OSD and add it again as a new disk, instead of trying to make it to rejoin the cluster.
is it safe to use the following command?
juju run-action --wait $OSD_UNIT remove-disk osd-ids=$OSD purge=true
what other considerations should i take into account? I ran the following commands to provide the relevant information the output is attached I hope some can help me with this. Thanks in advance
juju status:
juju ssh ceph-mon/leader sudo ceph osd tree
juju debug-log --replay --no-tail -i ceph-osd/3
juju ssh ceph-mon/leader sudo ceph status
juju ssh ceph-mon/leader sudo ceph status