Re: Ceph MDS remove

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

 



Thank you John.
I've solved the issue.

# ceph mds dump
dumped mdsmap epoch 128
epoch	128
flags	0
created	2015-02-24 15:55:10.631958
modified	2015-02-25 17:22:20.946910
tableserver	0
root	0
session_timeout	60
session_autoclose	300
max_file_size	1099511627776
last_failure	122
last_failure_osd_epoch	1761
compat compat={},rocompat={},incompat={1=base v0.20,2=client writeable ranges,3=default file layouts on dirs,4=dir inode in separate object,5=mds uses versioned encoding,6=dirfrag is stored in omap,8=no anchor table}
max_mds	1
in	0
up	{0=24876}
failed
stopped
data_pools	7
metadata_pool	6
inline_data	disabled
24876: 192.168.0.1:6804/787130 'z-srv-m-cph01' mds.0.15 up:active seq 43 25064: 192.168.0.20:6807/438355 'r-zrv-m-cph01' mds.-1.0 up:standby seq 1

On 24/02/2015 09:58, ceph-users wrote:
Hi all,

I've set up a ceph cluster using this playbook:
https://github.com/ceph/ceph-ansible

I've configured in my hosts list
[mdss]
hostname1
hostname2
....

I now need to remove this MDS from the cluster.
The only document I found is this:
http://www.sebastien-han.fr/blog/2012/07/04/remove-a-mds-server-from-a-ceph-cluster/

# service ceph -a stop mds
=== mds.z-srv-m-cph02 ===
Stopping Ceph mds.z-srv-m-cph02 on z-srv-m-cph02...done
=== mds.r-srv-m-cph02 ===
Stopping Ceph mds.r-srv-m-cph02 on r-srv-m-cph02...done
=== mds.r-srv-m-cph01 ===
Stopping Ceph mds.r-srv-m-cph01 on r-srv-m-cph01...done
=== mds.0 ===
Stopping Ceph mds.0 on zrh-srv-m-cph01...done
=== mds.192.168.0.1 ===
Stopping Ceph mds.192.168.0.1 on z-srv-m-cph01...done
=== mds.z-srv-m-cph01 ===
Stopping Ceph mds.z-srv-m-cph01 on z-srv-m-cph01...done

[root@z-srv-m-cph01 ceph]# ceph mds stat
e1: 0/0/0 up

1. question: why the MDS are not stopped?
2. When I try to remove them:

# ceph mds rm mds.z-srv-m-cph01 z-srv-m-cph01
Invalid command: mds.z-srv-m-cph01 doesn't represent an int
mds rm <int[0-]> <name (type.id)> : remove nonactive mds
Error EINVAL: invalid command

The ansible playbook created me a conf like this in ceph.conf:
[mds]

[mds.z-srv-m-cph01]
host = z-srv-m-cph01

Can someone please help on this or at least give some hints?

Thank you very much
Gian
_______________________________________________
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