Hey folks,
Reporting a solution for a problem I saw just recently with a new OSD not showing up in Proxmox web GUI or "ceph osd tree".
To resolve I erased the drive (sda):
dd if=/dev/zero of=/dev/sda bs=1M count=1024 conv=fdatasync
Created a new OSD:
pveceph createosd /dev/sda
Get the bootstrap OSD key:
ceph auth get client.bootstrap-osd
Replace the key in: /var/lib/ceph/bootstrap-osd/ceph.keyring
With the key from the previous step above
Activate the OSD
ceph-disk activate --reactivate /dev/sda1
Check Proxmox OSD web gui
Note the problem may not be the same depending on the issue, you take full responsibility for ensuring you understand each command before entering it, the above commands can cause data loss. I am not responsible if you break your system.
Reporting a solution for a problem I saw just recently with a new OSD not showing up in Proxmox web GUI or "ceph osd tree".
To resolve I erased the drive (sda):
dd if=/dev/zero of=/dev/sda bs=1M count=1024 conv=fdatasync
Created a new OSD:
pveceph createosd /dev/sda
Get the bootstrap OSD key:
ceph auth get client.bootstrap-osd
Replace the key in: /var/lib/ceph/bootstrap-osd/ceph.keyring
With the key from the previous step above
Activate the OSD
ceph-disk activate --reactivate /dev/sda1
Check Proxmox OSD web gui
Note the problem may not be the same depending on the issue, you take full responsibility for ensuring you understand each command before entering it, the above commands can cause data loss. I am not responsible if you break your system.