Re: Jewel : How to remove MDS ?

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

 



On Tue, Jul 4, 2017 at 1:49 PM, Florent B <florent@xxxxxxxxxxx> wrote:
> Hi everyone,
>
> I would like to remove a MDS from map. How to do this ?
>
> # ceph mds rm mds.$ID;
> Invalid command:  mds.host1 doesn't represent an int
> mds rm <int[0-]> :  remove nonactive mds
> Error EINVAL: invalid command

Avoid "mds rm" (you never really need that command, the naming is
unfortunate) -- use "mds fail" to drop an MDS from the filesystem
map/mds map.  mds fail will take a rank or a daemon name, so it's much
friendlier in practice.  For an explanation of ranks etc see
http://docs.ceph.com/docs/master/cephfs/standby/

Note that if the daemon is still running then you'll find it
immediately appears in the map again.  If you want to permamently
remove an MDS daemon on a particular server then you need to go and do
that on the server (or modify whatever configuration management
solution you're using).

John

> This int is supposed to be the "rank" of the MDS. But where do I find it ?
>
> Thank you
>
> _______________________________________________
> 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