double rebalance when removing osd

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

 



Hi all,

I am curious what practices other people follow when removing OSDs from a cluster. According to the docs, you are supposed to:

1. ceph osd out
2. stop daemon
3. ceph osd crush remove
4. ceph auth del
5. ceph osd rm 

What value does ceph osd out (1) add to the removal process and why is it in the docs ? We have found (as have others) that by outing(1) and then crush removing (3), the cluster has to do two recoveries. Is it necessary? Can you just do a crush remove without step 1? 

I found this earlier message from GregF which he seems to affirm that just doing the crush remove is fine:
http://lists.ceph.com/pipermail/ceph-users-ceph.com/2014-January/007227.html

This recent blog post from Sebastien that suggests reweighting to 0 first, but havent tested it:
http://www.sebastien-han.fr/blog/2015/12/11/ceph-properly-remove-an-osd/

I thought that by marking it out, it sets the reweight to 0 anyway, so not sure how this would make a difference in terms of two rebalances but maybe there is a subtle difference.. ?

Thanks,
Raf

--
Senior Storage Engineer - Automation and Delivery
Infrastructure Services - eSolutions


_______________________________________________
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