Newer
Older
### Check mon status from socket
```
sudo ceph --admin-daemon /var/run/ceph/ceph-mon.qn-cnfslhc.asok config help
sudo ceph --admin-daemon /var/run/ceph/ceph-mon.qn-cnfslhc.asok config show
sudo ceph --admin-daemon /var/run/ceph/ceph-mon.qn-cnfslhc.asok
```
### Enable msgr2
Enable msgr2 in nautilus
```
ceph mon enable-msgr2
```
### OSD remove
```
$ ceph osd out osd.<ID>
$ systemctl stop osd.<ID>
$ ceph osd down osd.<ID>
$ ceph osd purge osd.<ID>
$ ceph auth rm osd.<ID>
```
### Disk clean up
check spurious partitions with `lsblk` and then remove them with
```
dmsetup remove <partition hash>
```
Zap the the disk with `gdisk`
```
gdisk /dev/sdbe < input
```
where input is a file with this content:
```
x
z
y
y
```