Re: Rebalancing after modifying CRUSH map

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

 



Thanks Janne, this is fantastic to know.

Brett

--- original message ---
On June 9, 2020, 4:21 PM GMT+10 icepic.dz@xxxxxxxxx wrote:


Den tis 9 juni 2020 kl 07:43 skrev Brett Randall <brett.randall@xxxxxxxxx>:


>> Hi all

>> We are looking at implementing Ceph/CephFS for a project. Over time, we may wish to add additional replicas to our cluster. If we modify a CRUSH map, is there a way of then requesting Ceph to re-evaluate the placement of objects across the cluster according to the modified CRUSH map?





If you edit the crush map (including just adding a disk or a new host) then all the pools whose crushrules are affected by the change will more or less immediately try to move around data in order to fit the new crush map. If you ask the cluster to move in some impossible way, it will refuse and claim the PGs are misplaced/remapped but will still continue to serve data as usual, until you either make it possible to place after the new rules, or you revert the new rules.



-- 

May the most significant bit of your life be positive.
--- end of original message ---
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[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