Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dazeb/aa00e0fb5fabfbc7f3d27341f1e5f3d9 to your computer and use it in GitHub Desktop.
Save dazeb/aa00e0fb5fabfbc7f3d27341f1e5f3d9 to your computer and use it in GitHub Desktop.
purge ceph install on proxmox
rm -rf /etc/systemd/system/ceph*
killall -9 ceph-mon ceph-mgr ceph-mds
rm -rf /var/lib/ceph/mon/ /var/lib/ceph/mgr/ /var/lib/ceph/mds/
pveceph purge
apt -y purge ceph-mon ceph-osd ceph-mgr ceph-mds
rm /etc/init.d/ceph
for i in $(apt search ceph | grep installed | awk -F/ '{print $1}'); do apt reinstall $i; done
dpkg-reconfigure ceph-base
dpkg-reconfigure ceph-mds
dpkg-reconfigure ceph-common
dpkg-reconfigure ceph-fuse
for i in $(apt search ceph | grep installed | awk -F/ '{print $1}'); do apt reinstall $i; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment