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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content