Hi Greg, but our default also has stripe-count = 1 so that no more than 1 stripe-unit is included in each order x object.
So if you do --order 16—stripe-unit 65536 —stripe-count 1 it then works I’m not sure if this is what you meant. JC On Mar 11, 2014, at 08:32, Gregory Farnum <[email protected]> wrote: > If the stripe size and object size are the same it's just chunking -- > that's our default. Should work fine. > -Greg > Software Engineer #42 @ http://inktank.com | http://ceph.com > > > On Tue, Mar 11, 2014 at 8:23 AM, Jean-Charles LOPEZ > <[email protected]> wrote: >> Hi Dieter, >> >> you have a problem with your command. >> >> You set order = 16 so your RBD objects is going to be 65536 bytes >> >> Then you tell RBD that you stripe-unit is going to be 65536 which is the >> size of your full object. >> >> Either decrease the size of --stripe-unit to 8192 for example >> Or increase order so that it is bigger than your stripe unit and contains a >> multiple of stripe-units (e.g. 21) >> >> And it will work without any problem >> JC >> >> >> >> On Mar 11, 2014, at 07:22, Kasper Dieter <[email protected]> >> wrote: >> >>> So, should I open a bug report ? >>> >>> STRIPINGV2 feature was added in Ceph v0.53, and I'm running v0.61 and using >>> '--image-format 2' during 'rbd create' >>> >>> Regards, >>> -Dieter >>> >>> >>> On Tue, Mar 11, 2014 at 03:13:28PM +0100, Srinivasa Rao Ragolu wrote: >>>> of course. rbd userland utilities provide you create images on RADOS as >>>> block storage. >>>> >>>> On Tue, Mar 11, 2014 at 7:37 PM, Kasper Dieter >>>> <[1][email protected]> wrote: >>>> >>>> I know, that format2 in rbd.ko is supported with kernel version 3.10 and >>>> above. >>>> >>>> But, if I want to create an rbd-image >>>> only the Ceph Userland services should be involved, shouldn't it ? >>>> >>>> -Dieter >>>> >>>> BTW the kernel version on the nodes hosting the OSDs processes is >>>> 2.6.32-358.el6.x86_64 >>>> but I can also boot with a 3.10.32 kernel. >>>> >>>> On Tue, Mar 11, 2014 at 02:57:05PM +0100, Srinivasa Rao Ragolu wrote: >>>>> Please check the kernel version . Only kernel version 3.10 and >>>> above are >>>>> supported to create format type 2 images. >>>>> >>>>> On Tue, Mar 11, 2014 at 7:16 PM, Kasper Dieter >>>>> <[1][2][email protected]> wrote: >>>>> >>>>> When using "rbd create ... --image-format 2" in some cases this >>>> CMD is >>>>> rejected by >>>>> EINVAL with the message "librbd: STRIPINGV2 and format 2 or later >>>>> required for non-default striping" >>>>> But, in v0.61.9 "STRIPINGV2 and format 2" should be supported >>>>> >>>>> [root@rx37-3 ~]# rbd create --pool SSD-r2 --size 20480 --order 16 >>>>> --image-format 2 --stripe-unit 65536 --stripe-count 4 t2 >>>>> rbd: create error: (22) Invalid argument >>>>> 2014-03-11 14:39:03.885185 7f15bc170760 -1 librbd: STRIPINGV2 and >>>> format >>>>> 2 or later required for non-default striping >>>>> >>>>> [root@rx37-3 ~]# ceph -v >>>>> ceph version 0.61.9 (7440dcd135750839fa0f00263f80722ff6f51e90) >>>>> >>>>> Any hints ? >>>>> >>>>> Regards, >>>>> -Dieter >>>>> _______________________________________________ >>>>> ceph-users mailing list >>>>> [2][3][email protected] >>>>> [3][4]http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>>>> >>>>> References >>>>> >>>>> Visible links >>>>> 1. mailto:[5][email protected] >>>>> 2. mailto:[6][email protected] >>>>> 3. [7]http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>>> >>>> References >>>> >>>> Visible links >>>> 1. mailto:[email protected] >>>> 2. mailto:[email protected] >>>> 3. mailto:[email protected] >>>> 4. http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>>> 5. mailto:[email protected] >>>> 6. mailto:[email protected] >>>> 7. http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> _______________________________________________ >>> ceph-users mailing list >>> [email protected] >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >> _______________________________________________ >> ceph-users mailing list >> [email protected] >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com _______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
