How to list the pools in a Ceph cluster?
Environment
-
Red Hat Ceph Enterprise 1.2.3
-
Red Hat Ceph Enterprise 1.3
Issue
- How to list the pools in a Ceph cluster?
Resolution
- To list all the pools in the Ceph cluster:
# ceph osd lspools
- To create a script that will loop on all the pools, it can be more convenient to use:
# rados lspools
- To have detailed information on each pool configuration (replication size, number of placement groups, etc.), use:
# ceph osd dump | grep pool
SBR
Product(s)
Tags
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.