Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am dejwoo on github.
  • I am dejwoo (https://keybase.io/dejwoo) on keybase.
  • I have a public key ASCqh6-bJgDHsnvG6yY_qJRHXA4eBxA-6UH7Hpfrmd43Kwo

To claim this, I am signing this object:

# This will use osd.5 as an example
# ceph commands are expected to be run in the rook-toolbox
1) disk fails
2) remove disk from node
3) mark out osd. `ceph osd out osd.5`
4) remove from crush map. `ceph osd crush remove osd.5`
5) delete caps. `ceph auth del osd.5`
6) remove osd. `ceph osd rm osd.5`
7) delete the deployment `kubectl delete deployment -n rook-ceph rook-ceph-osd-id-5`
8) delete osd data dir on node `rm -rf /var/lib/rook/osd5`