ceph is a command-line utility in Linux that is used to manage and configure a Ceph storage cluster. Ceph is an open-source distributed storage system that provides highly scalable, fault-tolerant storage for data-intensive applications.
ceph is the primary tool for administering and managing a Ceph cluster, and it provides a wide range of commands and options for tasks such as monitoring the health and performance of the cluster, adding and removing storage devices, and configuring Ceph services and features.
ceph Command Examples
1. Check cluster health status:
# ceph status
2. Check cluster usage stats:
# ceph df
3. Get the statistics for the placement groups in a cluster:
# ceph pg dump --format plain
4. Create a storage pool:
# ceph osd pool create pool_name page_number
5. Delete a storage pool:
# ceph osd pool delete pool_name
6. Rename a storage pool:
# ceph osd pool rename current_name new_name
7. Self-repair pool storage:
# ceph pg repair pool_name