Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save mikekuzak/942e79844b135095f99899f9657a63cb to your computer and use it in GitHub Desktop.
Save mikekuzak/942e79844b135095f99899f9657a63cb 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