Difference between revisions of "Microceph remove"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | # Removing node WIP | ||
+ | - https://canonical-microceph.readthedocs-hosted.com/en/latest/how-to/remove-disk/ | ||
+ | ## Let microceph do all the work | ||
+ | ``` | ||
+ | microceph disk list | ||
+ | microceph disk remove <numerical id of disk> | ||
+ | ``` | ||
− | # | + | ## Other ways |
``` | ``` | ||
ceph osd dump | ceph osd dump | ||
Line 18: | Line 25: | ||
ceph health | ceph health | ||
``` | ``` | ||
+ | |||
+ | # LXD remove disk | ||
+ | ``` | ||
+ | lxc config device rm microceph3 osd1 | ||
+ | ``` | ||
+ | |||
# Misc | # Misc |
Latest revision as of 04:50, 25 March 2024
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