After you've decreased max_mds, use "ceph mds deactivate <rank>" on the ranks you want to get rid of. If you had two active MDSs, you would use that with rank=1.
Once you've done that, your second MDS will go into state 'stopping', and after about 30 seconds (use ceph -w to follow progress) it will go back into state 'standby', at which point your cluster has been shrunk successfully. John On Sun, May 1, 2016 at 5:29 PM, Jevon Qiao <[email protected]> wrote: > Hi, > > Currently, I'm testing the functionality of multiple MDS in Jewel 10.2.0. I > know increasing the value of max_mds can make the standby MDS become > active(I have two MDSes and max_mds=1). But I'm wondering if there is a way > to change the mode back. I tried to decrease max_mds, but it did not work. I > also tried 'mds_standby_for_name', but got 'Function not implemented'. > > Thanks, > Jevon > > _______________________________________________ > ceph-users mailing list > [email protected] > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
