Hi Dev,

You can't. There's no 'ceph osd erasure-code-profile modify' command and the 
'ceph osd erasure-code-profile set' will fail on output below when run on an 
existing profile. See below:

$ ceph osd erasure-code-profile ls
default
myprofile

$ ceph osd erasure-code-profile get myprofile
crush-device-class=
crush-failure-domain=host
crush-num-failure-domains=0
crush-osds-per-failure-domain=0
crush-root=default
jerasure-per-chunk-alignment=false
k=2
m=1
plugin=jerasure
technique=reed_sol_van
w=8

$ ceph osd erasure-code-profile set myprofile crush-failure-domain=osd k=2 m=1 
Error EPERM: will not override erasure code profile myprofile because the 
existing profile 
{crush-device-class=,crush-failure-domain=host,crush-num-failure-domains=0,crush-osds-per-failure-domain=0,crush-root=default,jerasure-per-chunk-alignment=false,k=2,m=1,plugin=jerasure,technique=reed_sol_van,w=8}
 is different from the proposed profile 
{crush-device-class=,crush-failure-domain=osd,crush-num-failure-domains=0,crush-osds-per-failure-domain=0,crush-root=default,jerasure-per-chunk-alignment=false,k=2,m=1,plugin=jerasure,technique=reed_sol_van,w=8}

You need to create a new profile or delete the current profile and recreate it 
with the same name.

Regards,
Frédéric.

----- Le 5 Fév 25, à 0:14, Devender Singh deven...@netskrt.io a écrit :

> Hello all
> 
> Is there a way to change ec pool profile from host to osd?
> 
> Regrds
> Dev
> 
> _______________________________________________
> ceph-users mailing list -- ceph-users@ceph.io
> To unsubscribe send an email to ceph-users-le...@ceph.io
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to