Thanks Janne, this is fantastic to know.
Brett
--- original message ---
On June 9, 2020, 4:21 PM GMT+10 icepic.dz(a)gmail.com wrote:
Den tis 9 juni 2020 kl 07:43 skrev Brett Randall <brett.randall(a)gmail.com>om>:
> 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 ---