November 2017
Intermediate to advanced
494 pages
14h 29m
English
The following table shows some of the common Ceph commands used in a cluster:
|
Command |
Function |
| #ceph -s |
Displays the Ceph cluster status. |
|
#ceph -w |
Displays the Ceph cluster running log. |
|
#ceph health detail |
Displays a detailed error if there is one. |
|
#ceph osd tree |
Displays a list of all OSDs categorized by nodes. |
|
#ceph set osd noout #ceph set osd nodown |
Prevents any OSDs from getting marked out and down, so Ceph does not start rebalancing. It is necessary during maintenance when the node requires a reboot due to updates. |
|
#ceph unset osd noout #ceph unset osd nodown |
Must be run after the maintenance is over in order to resume normal operation. |
|
#ceph daemon osd.X config show | grep ... |