Project

General

Profile

Actions

Support #47455

closed

How to recover cluster that lost its quorum?

Added by Gunther Heinrich over 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Monitor
Target version:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

This relates to the documentation issue I posted yesterday here: https://tracker.ceph.com/issues/47436

Does anyone know how I can recover a cluster in version Octopus that has lost its quorum? I attempted to follow the documentation linked above but the results weren't good.
Since yesterday I had the idea to follow the instructions by entering the monitor-container via cephadm (cephadm enter --fsid ... --name ...) but when I tried to extract the monmap inside the monitor container ceph-mon gave me the following error:

ceph-mon -i host-id --extract-monmap /tmp/monmap
2020-09-15T10:00:15.726+0000 7f26a753b700 -1 rocksdb: IO error: While lock file: /var/lib/ceph/mon/host-id/store.db/LOCK: Resource temporarily unavailable
2020-09-15T10:00:15.726+0000 7f26a753b700 -1 error opening mon data directory at '/var/lib/ceph/mon/host-id': (22) Invalid argument

I could try to remove the lock but I don't want to tinker too much at the moment.

Thanks for your help!

Actions

Also available in: Atom PDF