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

Checking the cluster's health

To check the health of your cluster, use the ceph command followed by health as the command option:

# ceph health

The output of this command will be divided into several sections separated by a semicolon:

The first section of the output shows that your cluster is in the warning state, HEALTH_WARN, as 64 pgs degraded. The second section represents that 1,408 PGs are not clean, and the third section of the output represents that cluster recovery is going on for 1 out of 5,744 objects and the cluster is 0.017% degraded. If your cluster is healthy, you will receive the output as HEALTH_OK.

To find out more details ...

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