The image metadata still needs to live in a replicated data pool --
only the data blocks can be stored in an EC pool. Therefore, when
creating the image, you should provide the "--data-pool <pool-name>"
optional to specify the EC pool name.


On Thu, Oct 12, 2017 at 2:06 PM, Josy <[email protected]> wrote:
> Hi,
>
> I am trying to setup an erasure coded pool with rbd image.
>
> The ceph version is Luminous 12.2.1. and I understand,  since Luminous, RBD
> and Cephfs can store their data in an erasure coded pool without use of
> cache tiring.
>
> I created a pool ecpool and when trying to create a rbd image, gets this
> error.
>
> ==============
>
> [cephuser@ceph-las-admin-a1 ceph-cluster]$ rbd create --size 20G
> ecpool/ectestimage2
> 2017-10-12 10:55:37.992965 7f18857fa700 -1 librbd::image::CreateRequest:
> 0x55608e1e0c20 handle_add_image_to_directory: error adding image to
> directory: (95) Operation not supported
> rbd: create error: (95) Operation not supported
> ==============
>
>
>
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to