Files
cheatsheet-tldr/tldr/linux/ceph

38 lines
636 B
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`