Clean Ceph from ProxmoxVE Node
To clean Ceph from a ProxmoxVE node, follow these steps:
- 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
- Avoid Ceph services being restarted by systemd the next boot by removing the following files:
rm -rf /etc/systemd/system/ceph*
- Be sure that Ceph services are stopped by running the following command:
killall -9 ceph-mon ceph-mgr ceph-mds
- Remove the following directories:
rm -rf /var/lib/ceph/mon/
rm -rf /var/lib/ceph/mgr/
rm -rf /var/lib/ceph/mds/
- Retry the Ceph purge:
pveceph purge
- 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: