Difference between revisions of "Microceph remove"
Jump to navigation
Jump to search
(Created page with "``` ceph osd status sudo microceph.ceph osd destroy 2 ceph osd purge osd.2 --yes-i-really-mean-it ``` # Removing node WIP ``` ceph osd dump ceph osd out osd.2 ceph osd crush...") |
|||
(3 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 14: | Line 17: | ||
microceph disk remove 2 | 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 | 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 | ceph osd status | ||
− | ceph | + | sudo microceph.ceph osd destroy 2 |
+ | ceph osd purge osd.2 --yes-i-really-mean-it | ||
``` | ``` |
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