Skip to content

Instantly share code, notes, and snippets.

@drolfe
Created February 3, 2016 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drolfe/162dd4185b014dbd9de6 to your computer and use it in GitHub Desktop.
Save drolfe/162dd4185b014dbd9de6 to your computer and use it in GitHub Desktop.
Ceph Useful
ceph osd lost 16 --yes-i-really-mean-it
ceph osd crush remove osd.16
ceph auth del osd.16
ceph osd rm 16
ceph osd create
ceph-osd -i 16 --mkfs --mkkey
ceph auth add osd.16 osd 'allow *' mon 'allow rwx' -i /var/lib/ceph/osd/ceph-16/keyring
ceph osd crush add osd.16 0.27 root=default host=node-118
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment