Add previously OSD to a new installation of a 3 nodes Proxmox CEPH

Gilberto Ferreira

Renowned Member
Hi

I have 3 nodes Proxmox Cluster with CEPH, and after a crash, I have to reinstall Proxmox from scratch, along with Ceph.
OSD are intact.
I already did ceph-volume lvm activate --all and the OSD appears with ceph-volum lvm list and I got a folder with the name of the OSD under /var/lib/ceph/osd.
However is not appear in ceph osd tree or ceph -s or even in the web gui.
Is there any way to re-add this OSD to Proxmox CEPH?

Thanks a lot for any help.


Best Regards
 
Is there any way to re-add this OSD to Proxmox CEPH?
Everything is possible in the Web-Gui, no CLI-fu required: 1) remove it "officially" from Ceph 2) wipe the disk 3) add it as a new OSD.

At least that's what I would do.

If you think to re-add the content of that OSD: Ceph should have repaired/re-balanced itself a short while after the crash by shuffling around the actual content. The content of that old OSD is probably irrelevant and can not get re-integrated into the Ceph pool, afaik.

Disclaimer: I am not using Ceph currently!
 
  • Like
Reactions: Johannes S