Re: [ceph-users] Help with setting device-class rule on pool without causing data to move

2019-01-03 Thread David C
Thanks, Sage! That did the trick. Wido, seems like an interesting approach but I wasn't brave enough to attempt it! Eric, I suppose this does the same thing that the crushtool reclassify feature does? Thank you both for your suggestions. For posterity: - I grabbed some 14.0.1 packages,

Re: [ceph-users] Help with setting device-class rule on pool without causing data to move

2018-12-31 Thread Eric Goirand
Hi David, CERN has provided with a python script to swap the correct bucket IDs (default <-> hdd), you can find it here : https://github.com/cernceph/ceph-scripts/blob/master/tools/device-class-id-swap.py The principle is the following : - extract the CRUSH map - run the script on it => it

Re: [ceph-users] Help with setting device-class rule on pool without causing data to move

2018-12-30 Thread Sage Weil
On Sun, 30 Dec 2018, David C wrote: > Hi All > > I'm trying to set the existing pools in a Luminous cluster to use the hdd > device-class but without moving data around. If I just create a new rule > using the hdd class and set my pools to use that new rule it will cause a > huge amount of data

[ceph-users] Help with setting device-class rule on pool without causing data to move

2018-12-30 Thread David C
Hi All I'm trying to set the existing pools in a Luminous cluster to use the hdd device-class but without moving data around. If I just create a new rule using the hdd class and set my pools to use that new rule it will cause a huge amount of data movement even though the pgs are all already on