On 13/08/13 14:46, Jeppesen, Nelson wrote:
Joao,

ceph-monstore-tool --mon-store-path /var/lib/ceph/mon/ceph-2 --out
/var/lib/ceph/mon/ceph-1  --command store-copy

is running now. It hit 52MB very quickly then nothing with lots of disk
read, which is what I’d expect. Its reading fast and expect it to finish
in 35min.

Just to make sure, this won’t add a new monitor, just clean it up. So,
when it’s done I should do the following:

mv /var/lib/ceph/mon/ceph-2 /var/lib/ceph/mon/ceph-2.old

mv /var/lib/ceph/mon/ceph-1 /var/lib/ceph/mon/ceph-2

service ceph start mon.2

Sage pointed out that you'll also need to copy the 'keyring' file from the original mon data dir to the new mon data dir.

So that would be 'cp /var/lib/ceph/mon/ceph-2/keyring /var/lib/ceph/mon/ceph-1/'

You should be good to go then.

  -Joao


--
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to