ceph osd replace SD card

fantan

New Member
Apr 24, 2021
1
0
1
45
Hi every body.
I have ceph cluster. One of OSD host os on sd card that have 6 osd hdd is crashed, so I need to change sd card.
how can I reconnect 6 osd hard disks to new os without destroy the data?

Thanks in advance.
 
Last edited:
A hyperconverged PVE Ceph cluster? First step, don't install the OS on SD cards. They will not survive long as PVE and Ceph log quite a lot to the OS disk!

Secondly, manually remove the OSDs from the Ceph cluster and use sgdisk -Z /dev/sdX to wipe the OSD disks clean. Then reinstall, add the PVE node to the cluster and after that recreate the OSDs.

Depending on your cluster you might see some rebalancing, but that is the beauty of Ceph that you can suffer such a loss without losing data.