How to list Ceph pools

Updated -

To list all the pools in your cluster you can use:

# 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.), you can use:

# ceph osd dump | grep ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In