Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

37
linux/ceph Normal file
View File

@@ -0,0 +1,37 @@
---
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}}`