On Fri, Sep 17, 2021 at 3:17 PM 胡 玮文 <huw...@outlook.com> wrote:
>
> > Did you run the command I suggested before or after you executed `rmfailed` 
> > below?
>
>
>
> I run “rmfailed” before reading your mail. Then I got MON crashed. I fixed 
> the crash by setting max_mds=2. Then I tried the command you suggested.
>
>
>
> By reading the code[1], I think I really need to undo the “rmfailed” to get 
> my MDS out of standby state.

Exactly. If you install the repositories from (available in about ~1 hour):

https://shaman.ceph.com/repos/ceph/ceph-mds-addfailed-pacific/9a1ccf41c32446e1b31328e7d01ea8e4aaea8cbb/

for the monitors (only), and then run:

for i in 0 1; do ceph mds addfailed <fs_name>:$i --yes-i-really-mean-it ; done

it should fix it for you.

-- 
Patrick Donnelly, Ph.D.
He / Him / His
Principal Software Engineer
Red Hat Sunnyvale, CA
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D

_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to