Hi Maks, thanks for looking at this. Unfortunately, this does not answer the question. After steps 1-3 you are exactly in the same situation as I am, namely that the profile attached to the pool is outdated and, therefore, contains invalid information that will be confusing. To check, execute ceph osd pool get POOL_NAME erasure_code_profile and then do ceph osd erasure-code-profile get PROFILE_NAME_RETURNED_ABOVE This will not match the new crush rule unless there was no change. Note that you cannot *set* the EC profile on a pool to match the profile you created your new crush rule from. Hence, the pool info will drag outdated information along. Best regards, ================= Frank Schilder AIT Risø Campus Bygning 109, rum S14 ________________________________________ From: Maks Kowalik <maks_kowalik@xxxxxxxxx> Sent: 18 October 2019 14:01 To: Frank Schilder Subject: Re: Change device class in EC profile I managed to achieve a similar goal (old EC profile didn't use classes at all) by: 1. Creating a new EC profile. 2. Creating new crush rule based on the EC profile. 3. Changing crush rule for a pool to a newly created one. Kind regards, Maks pt., 18 paź 2019 o 13:07 Frank Schilder <frans@xxxxxx<mailto:frans@xxxxxx>> napisał(a): I recently moved an EC pool from HDD to SSD by changing the device class in the crush rule. I would like to complete this operation by cleaning up a dirty trail. The EC profile attached to this pool is called sr-ec-6-2-hdd and it is easy enough to rename that to sr-ec-6-2-ssd. However, the profile itself contains the device class as well: crush-device-class=hdd [...] I can already see the confusion this will cause in the future. Is this situation one of the few instances where using the --force option is warranted to change the device class of a profile, as in: osd erasure-code-profile set sr-ec-6-2-ssd crush-device-class=ssd --force If not, how can I change the device class of the profile? Many thanks and best regards, ================= Frank Schilder AIT Risø Campus Bygning 109, rum S14 _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx> To unsubscribe send an email to ceph-users-leave@xxxxxxx<mailto:ceph-users-leave@xxxxxxx> _______________________________________________ ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx