Microceph remove

From UVOO Tech Wiki
Revision as of 04:50, 25 March 2024 by Busk (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Removing node WIP

Let microceph do all the work

microceph disk list
microceph disk remove <numerical id of disk>

Other ways

ceph osd dump
ceph osd out osd.2
ceph osd crush remove osd.2
ceph osd rm 2
# ceph osd purge 2 --yes-i-really-mean-it # only use if you need it

microceph disk remove  2

# microceph enable mon --target <server you want to enable it on> # if removing monitor mode and under 3 # https://canonical-microceph.readthedocs-hosted.com/en/reef-stable/reference/commands/enable/
microceph cluster remove microceph3

ceph osd status
ceph osd dump
ceph health

LXD remove disk

lxc config device rm microceph3 osd1

Misc

ceph osd status
sudo microceph.ceph osd destroy 2
ceph osd purge osd.2 --yes-i-really-mean-it