Skip to main content

Clean Ceph from ProxmoxVE Node

To clean Ceph from a ProxmoxVE node, follow these steps:

  1. Stop all remaining Ceph services:
systemctl stop ceph-mon.target
systemctl stop ceph-mgr.target
systemctl stop ceph-mds.target
systemctl stop ceph-osd.target
  1. Avoid Ceph services being restarted by systemd the next boot by removing the following files:
rm -rf /etc/systemd/system/ceph*
  1. Be sure that Ceph services are stopped by running the following command:
killall -9 ceph-mon ceph-mgr ceph-mds
  1. Remove the following directories:
rm -rf /var/lib/ceph/mon/
rm -rf /var/lib/ceph/mgr/
rm -rf /var/lib/ceph/mds/
  1. Retry the Ceph purge:
pveceph purge
  1. Finally, uninstall Ceph:
apt purge ceph-mon ceph-osd ceph-mgr ceph-mds

This completes the process of cleaning Ceph from a ProxmoxVE node.

Reference:

  1. https://forum.proxmox.com/threads/how-to-clean-up-a-bad-ceph-config-and-start-from-scratch.68949/