On 06/20/2011 08:16 PM, Gregory Farnum wrote:
4. Can I recover the data without backup?
Possibly. If the inconsistency is just that one of the OSDs is storing the 
object and another OSD says the object shouldn't exist, that can be recovered 
from by working out which one is correct.

Have you manually adjusted the contents of any OSDs? Can you think of anything 
you've done that might have triggered this?
I step by step down osd servers until only one remains (hmm, it is not clear how this is 
consistent with "pg_size 2"). After one day I step by step up osd servers.
Well if you've got enough space and step down slowly enough all the data will 
simply exist on the one up OSD in a degraded form. :)

Is it still marked as inconsistent? If that's really all you did it shouldn't 
be, but maybe restarting the cluster would let it fix itself. :/
-Greg

Yes, I restarted osd server with inconsistent pg and cluster now in consistent state.

WBR,
    Fyodor.

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to