The Ceph command list
The following table shows a list of Ceph commands most frequently used to run a healthy cluster:
Command |
Description |
---|---|
ceph-deploy install <node> |
Install Ceph on nodes |
ceph-deploy disk list <node> |
Disk list |
ceph-deploy disk zap <node>:/dev/sdX |
Format disk |
ceph-deploy osd create <node>:/dev/sdX |
Create OSD |
ceph osd out <osd.id> stop ceph-osd <osd.id> umount /var/lib/ceph/osd/<cluster>.<osdid> ceph osd crush remove <osd.id> ceph auth del <osd.id>ceph osd rm <osd.id> |
Remove OSD manually |
ceph-deploy mon create <node> |
Deploy Monitor (MON) |
ceph-deploy mon destroy <node> |
Delete Monitor (MON) |
ceph-deploy mds create <node> |
Deploy MetaData Server (MDS) |
ceph-deploy mds destroy <node> |
Delete MetaData Sever (MDS) |
ceph-deploy gatherkeys <mon_node> |
Gather admin keys |
ceph osd lspools |
List pools |
ceph osd pool create <name> <pg> <pgs> |
Create pool |
ceph... |