O'Reilly logo

Ceph Cookbook - Second Edition by Karan Singh, Michael Hackett, Vikhyat Umrao

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

Let's review some initial cluster state commands to help determine where we need to being our troubleshooting:

  1. Validate the overall health of the Ceph storage cluster :
      # ceph health detail
  1. If the cluster is in a HEALTH_OK state, this command really does not tell you much. But if there are PGs or OSDs in the error state, this command can provide further details about the state of the cluster. Let's stop one of our OSD processes on ceph-node2 and then rerun the ceph health detail to see what it reports:
      root@ceph-node2 # systemctl stop ceph-osd@<id>                        # ceph health detail
  1. With an OSD process stopped, you can see that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required