mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
38 lines
664 B
Plaintext
38 lines
664 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ceph
|
|
|
|
> A unified storage system.
|
|
> More information: <https://docs.ceph.com/en/latest/man/8/ceph/>.
|
|
|
|
- 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}}`
|