ceph osd replace SD card

fantan

New Member
Apr 24, 2021
1
0
1
44
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!