tldr/pages/linux/ceph.md

33 lines
544 B
Markdown
Raw Normal View History

2019-10-13 12:49:08 +01:00
# 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}}`