[ceph-users] Monitor Recovery
Wido den Hollander
wido at 42on.com
Tue Oct 23 23:11:04 PDT 2018
On 10/24/18 2:22 AM, John Petrini wrote:
> Hi List,
> I've got a monitor that won't stay up. It comes up and joins the
> cluster but crashes within a couple of minutes with no info in the
> logs. At this point I'd prefer to just give up on it and assume it's
> in a bad state and recover it from the working monitors. What's the
> best way to go about this?
You can do this manually, from the top of my head:
$ rm -fr /var/lib/ceph/mon/ceph-X/*
$ ceph-mon -i X --mkfs -f
Let this run and then start the mon normally.
Now, if that does not work, try this:
$ ceph-mon -i X --force-sync -f
And then start the MON normally.
> ceph-users mailing list
> ceph-users at lists.ceph.com
More information about the ceph-users