Re: EC pool - Profile change

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

 



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 devender@xxxxxxxxxx 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@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
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