Ceph: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with " Add and remove `noout` flag on specific osd ``` ceph osd add-noout osd.X ceph osd rm-noout osd.X ``` Add and remove 'noout' flag from node ``` ``` Destroy OSD. Needs to be executed on the node with the OSD ``` ceph osd safe-to-destroy osd.{id} systemctl stop ceph-osd@{id} pveceph osd destroy {id} ceph-volume lvm zap /dev/sd[X] --destroy ``` Create OSD. Needs to be executed on the node with the OSD ``` pveceph osd create /dev/sd[X] --encrypted 1 ```")
 
No edit summary
Line 1: Line 1:


Add and remove `noout` flag on specific osd
===== Add and remove `noout` flag on specific osd =====
```
* ceph osd add-noout osd.X
ceph osd add-noout osd.X
* ceph osd rm-noout  osd.X
ceph osd rm-noout  osd.X
```


Add and remove 'noout' flag from node
===== Add and remove 'noout' flag from node =====
```
* ceph osd set-group noout {node}
* ceph osd unset-group noout {node}


```
===== Destroy OSD =====
Needs to be executed on the node with the OSD
* ceph osd safe-to-destroy osd.{id}
* systemctl stop ceph-osd@{id}
* pveceph osd destroy {id}
*ceph-volume lvm zap /dev/sd[X] --destroy


Destroy OSD. Needs to be executed on the node with the OSD
===== Create OSD =====
```
Needs to be executed on the node with the OSD
ceph osd safe-to-destroy osd.{id}
* pveceph osd create /dev/sd[X] --encrypted 1
systemctl stop ceph-osd@{id}
pveceph osd destroy {id}
ceph-volume lvm zap /dev/sd[X] --destroy
```
 
Create OSD. Needs to be executed on the node with the OSD
```
pveceph osd create /dev/sd[X] --encrypted 1
```
126

edits

Navigation menu