mirror of https://github.com/CrimsonTome/tldr.git
33 lines
544 B
Markdown
33 lines
544 B
Markdown
|
# ceph
|
||
|
|
||
|
> A unified storage system.
|
||
|
> More information: <https://ceph.io>.
|
||
|
|
||
|
- Check cluster health status:
|
||
|
|
||
|
`ceph status`
|
||
|
|
||
|
- Check cluster usage stats:
|
||
|
|
||
|
`ceph df`
|
||
|
|
||
|
- Get the statistics for the placement groups in a cluster:
|
||
|
|
||
|
`ceph pg dump --format {{plain}}`
|
||
|
|
||
|
- Create a storage pool:
|
||
|
|
||
|
`ceph osd pool create {{pool_name}} {{page_number}}`
|
||
|
|
||
|
- Delete a storage pool:
|
||
|
|
||
|
`ceph osd pool delete {{pool_name}}`
|
||
|
|
||
|
- Rename a storage pool:
|
||
|
|
||
|
`ceph osd pool rename {{current_name}} {{new_name}}`
|
||
|
|
||
|
- Self-repair pool storage:
|
||
|
|
||
|
`ceph pg repair {{pool_name}}`
|