HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ceph — A unified storage system. More information: <https://docs.ceph.com/en/latest/man/8/ceph/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
unifiedcephcommandcliinformationstoragemoresystem
linux

Problem

How to use the ceph command: A unified storage system. More information: <https://docs.ceph.com/en/latest/man/8/ceph/>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: linux/ceph

Revisions (0)

No revisions yet.