Your image does not live in the EC pool -- instead, only the data portion lives within the EC pool. Therefore, you would need to specify the replicated pool where the image lives when attaching it as a backing store for iSCSI (i.e. pre-create it via the rbd CLI): # gwcli /iscsi-target...sx01-657d71e0> cd /disks /disks> create pool=rbd image=image_ec1 size=XYZ On Tue, Feb 27, 2018 at 10:42 AM, Steven Vacaroaia <stef97@xxxxxxxxx> wrote: > Hi, > > I noticed it is possible to use erasure code pool for RBD and CEPHFS > > https://ceph.com/community/new-luminous-erasure-coding-rbd-cephfs/ > > This got me thinking that I can deploy iSCSI luns on EC pools > However it appears it is not working > > Anyone able to do that or have I misunderstood ? > > Thanks > Steven > > Here is the pool > > ceph osd pool get ec_k4_m2 all > size: 6 > min_size: 5 > crash_replay_interval: 0 > pg_num: 128 > pgp_num: 128 > crush_rule: ec_k4_m2 > hashpspool: true > nodelete: false > nopgchange: false > nosizechange: false > write_fadvise_dontneed: false > noscrub: false > nodeep-scrub: false > use_gmt_hitset: 1 > auid: 0 > erasure_code_profile: EC_OSD > fast_read: 0 > > > here is how I created an image just to make sure RBD is supported > rbd create rbd/image_ec1 --size 51200 --data-pool ec_k4_m2 --image-feature > layering > > here is what gwcli complains about > gwcli > /iscsi-target...sx01-657d71e0> cd /disks > /disks> create pool=ec_k4_m2 image=testec size=120G > Invalid pool (ec_k4_m2). Must already exist and be replicated > > > > > _______________________________________________ > ceph-users mailing list > ceph-users@xxxxxxxxxxxxxx > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > -- Jason _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com