Re: Monitor Recovery

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.

Wido

> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> 
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux