Difference between revisions of "Microceph remove"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
- https://canonical-microceph.readthedocs-hosted.com/en/latest/how-to/remove-disk/ | - https://canonical-microceph.readthedocs-hosted.com/en/latest/how-to/remove-disk/ | ||
− | # Let microceph do all the work | + | ## Let microceph do all the work |
``` | ``` | ||
microceph disk list | microceph disk list | ||
Line 8: | Line 8: | ||
``` | ``` | ||
− | + | ## Other ways | |
``` | ``` | ||
ceph osd dump | ceph osd dump |
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