From fdbacd900de49b44045ba0977af482c2c54a4626 Mon Sep 17 00:00:00 2001 From: Ali Malek Date: Sun, 13 Oct 2019 15:19:08 +0330 Subject: [PATCH] ceph: add page (#3351) --- pages/linux/ceph.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/ceph.md diff --git a/pages/linux/ceph.md b/pages/linux/ceph.md new file mode 100644 index 000000000..8880f9fbb --- /dev/null +++ b/pages/linux/ceph.md @@ -0,0 +1,32 @@ +# ceph + +> A unified storage system. +> More information: . + +- 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}}`