Skip to content

Instantly share code, notes, and snippets.

@aryulianto
Created September 27, 2018 11:26
Show Gist options
  • Save aryulianto/2914021f98e999feb7c48a99af54c4fc to your computer and use it in GitHub Desktop.
Save aryulianto/2914021f98e999feb7c48a99af54c4fc to your computer and use it in GitHub Desktop.
Ceph: properly remove an OSD
ceph osd tree
ceph osd crush reweight osd.<ID> 0.0
ceph osd out <ID>
service ceph stop osd.<ID>
ceph osd crush remove osd.<ID>
ceph auth del osd.<ID>
ceph osd rm <ID>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment