Re: [ceph-users] Ceph pool EC with overwrite enabled

2019-07-05 Thread Fabio Abreu
Hi,

I look the newbie problem rs , i've made a little confusion when I read the
ec_pool in community document.

Thanks .

On Fri, Jul 5, 2019 at 1:08 AM huang jun  wrote:

> try: rbd create backup2/teste --size 5T --data-pool ec_pool
>
> Fabio Abreu  于2019年7月5日周五 上午1:49写道:
> >
> > Hi Everybody,
> >
> > I have a doubt about the usability of rbd with EC pool , I tried to use
> this in my CentOS lab but  I just receive some errors when I try create a
> rbd image inside this pool.
> >
> > For luminous environment this feature is supported?
> >
> >
> http://docs.ceph.com/docs/mimic/rados/operations/erasure-code/#erasure-coding-with-overwrites
> >
> > ceph osd pool set ec_pool allow_ec_overwrites true
> >
> >
> > This error bellow happened when I try to create the RBD image :
> >
> >
> > [root@mon1 ceph-key]# rbd create backup2/teste --size 5T --data-pool
> backup2
> >
> > ...
> >
> > warning: line 9: 'osd_pool_default_crush_rule' in section 'global'
> redefined
> >
> > 2019-07-03 17:27:33.721593 7f12c3fff700 -1 librbd::image::CreateRequest:
> 0x560f2f0db0a0 handle_add_image_to_directory: error adding image to
> directory: (95) Operation not supported
> >
> > rbd: create error: (95) Operation not supported
> >
> >
> > Regards,
> > Fabio Abreu Reis
> > http://fajlinux.com.br
> > Tel : +55 21 98244-0161
> > Skype : fabioabreureis
> > ___
> > ceph-users mailing list
> > ceph-users@lists.ceph.com
> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>


-- 
Atenciosamente,
Fabio Abreu Reis
http://fajlinux.com.br
*Tel : *+55 21 98244-0161
*Skype : *fabioabreureis
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Ceph pool EC with overwrite enabled

2019-07-04 Thread huang jun
try: rbd create backup2/teste --size 5T --data-pool ec_pool

Fabio Abreu  于2019年7月5日周五 上午1:49写道:
>
> Hi Everybody,
>
> I have a doubt about the usability of rbd with EC pool , I tried to use this 
> in my CentOS lab but  I just receive some errors when I try create a rbd 
> image inside this pool.
>
> For luminous environment this feature is supported?
>
> http://docs.ceph.com/docs/mimic/rados/operations/erasure-code/#erasure-coding-with-overwrites
>
> ceph osd pool set ec_pool allow_ec_overwrites true
>
>
> This error bellow happened when I try to create the RBD image :
>
>
> [root@mon1 ceph-key]# rbd create backup2/teste --size 5T --data-pool backup2
>
> ...
>
> warning: line 9: 'osd_pool_default_crush_rule' in section 'global' redefined
>
> 2019-07-03 17:27:33.721593 7f12c3fff700 -1 librbd::image::CreateRequest: 
> 0x560f2f0db0a0 handle_add_image_to_directory: error adding image to 
> directory: (95) Operation not supported
>
> rbd: create error: (95) Operation not supported
>
>
> Regards,
> Fabio Abreu Reis
> http://fajlinux.com.br
> Tel : +55 21 98244-0161
> Skype : fabioabreureis
> ___
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


[ceph-users] Ceph pool EC with overwrite enabled

2019-07-04 Thread Fabio Abreu
Hi Everybody,

I have a doubt about the usability of rbd with EC pool , I tried to use
this in my CentOS lab but  I just receive some errors when I try create a
rbd image inside this pool.

For luminous environment this feature is supported?

http://docs.ceph.com/docs/mimic/rados/operations/erasure-code/#erasure-coding-with-overwrites

ceph osd pool set ec_pool allow_ec_overwrites true


This error bellow happened when I try to create the RBD image :


[root@mon1 ceph-key]# rbd create backup2/teste --size 5T --data-pool backup2

...

warning: line 9: 'osd_pool_default_crush_rule' in section 'global' redefined

2019-07-03 17:27:33.721593 7f12c3fff700 -1 librbd::image::CreateRequest:
0x560f2f0db0a0 handle_add_image_to_directory: error adding image to
directory: (95) Operation not supported

rbd: create error: (95) Operation not supported

Regards,
Fabio Abreu Reis
http://fajlinux.com.br
*Tel : *+55 21 98244-0161
*Skype : *fabioabreureis
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com