Remove osd from configuration database

ColinDexter

New Member
Jul 3, 2023
26
4
3
I have a node in my cluster (last version) that has crashed. Now I'm removing it from my cluster so that I can install a new one later with the same name.

I removed the node from ceph with:
ceph mon remove <mon-id>
ceph osd purge {id} --yes-i-really-mean-it

However, the OSD of the deleted node still remains under ceph > configuration under configuration Database.

osd.PNG
The question is how do I get this away. It is gone from the monitor, from the configuration and also from the crush folder.
 
You could ignore this, if osd.1 will be the same device later after reinstall. Otherwise you can remove the config entry with:

Code:
root@PMX4:~# ceph config-key ls
root@PMX4:~# ceph config-key del config/osd.9/osd_mclock_max_capacity_iops_ssd
key deleted

Dont forget to remove the host from your pve-cluster according to the documentation (not freestyle).
 
Thanks, I'll leave it that way. Because it will be the same device after the reinstall. Yes, I have already removed the host from the cluster.
 

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!