To check OSD statistics, use # ceph osd stat; this command will help you get the OSD map epoch, total OSD count, and their in and up statuses.
To get detailed information about the Ceph cluster and OSD, execute the following command:
# ceph osd dump
This is a very useful command that will output the OSD map epoch, pool details including pool ID, pool name, pool type, that is, replicated or erasure, CRUSH ruleset, replication size, min_size (minimum number of up/in OSD's in a PG to serve the IO), and PGs. This command will also display information for each OSD, such as the OSD ID, status, weight, last clean interval epoch, and so on. All this information is extremely helpful for cluster monitoring and troubleshooting.
You can ...