Re: How to remove mds from cluster

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

 



On Tue, Dec 30, 2014 at 10:42 AM, Lindsay Mathieson
<lindsay.mathieson@xxxxxxxxx> wrote:
> $ ceph mds newfs metadata data --yes-i-really-mean-it

*Please* don't advise people to run this without also telling them
that it will erase their filesystem!

The original poster was asking how to delete an MDS so that he could
move it to another server, presumably he doesn't also want to lose all
his files.  Sebastian's guide only mentions newfs because he's talking
about permanently removing the last MDS when CephFS is not in use.

Anyway: to use a different server for your MDS, simply create your new
MDS (e.g. ceph-deploy mds create [mynewhost]), stop the old MDS (e.g.
stop ceph-mds-all), and prod ceph to start using the new one (ceph mds
fail 0).

Now you're using your new MDS, and can clean up the old MDS at
leisure.  ceph-deploy doesn't have support for this yet, so you'll
probably just remove the /var/lib/ceph/mds/<your-mds-id> directory on
the old server and be done.

Cheers,
John
_______________________________________________
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