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...

Before you begin troubleshooting PG states, validate that the Ceph monitors are all up and in quorum and that any available OSDs are also in the up/in state:

  1. How to handle stale placement groups:
    • A PG is labeled stale by the Ceph monitor when it does not receive a status update of the PG from the primary OSD or if a peer OSD reports the primary OSD as down.
    • The stale PG state is commonly seen after recently bringing the Ceph cluster up and when the PGs have not completed peering.
    • If the PG is stuck in a stale state, then validate with ceph health detail about which OSDs are currently down in the PG's acting set and attempt to bring that OSD online. If you're unable to bring it online, refer to the previous section on Troubleshooting ...

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