Re: Why is my mon store.db is 220GB?

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

 



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

Correct. The tool just extracts whatever is on one mon store and copies it to another store. The contents should be the same and the monitor should come back to life as if nothing had happened.

If for some reason that is not the case, you'll still have the original store readily to be used. Let me know if that happens and I'll be happy to help.

  -Joao


--
Joao Eduardo Luis
Software Engineer | http://inktank.com | http://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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux