Skip to content
Snippets Groups Projects
maintenance.md 723 B
Newer Older
  • Learn to ignore specific revisions
  • Antonio Falabella's avatar
    Antonio Falabella committed
    ### 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
    
    ```
    
    Antonio Falabella's avatar
    Antonio Falabella committed
    ### Enable msgr2
    Enable msgr2 in nautilus
    ```
    ceph mon enable-msgr2
    ```
    
    Antonio Falabella's avatar
    Antonio Falabella committed
    ### 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
    ```