Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-12 Thread Jean-Charles LOPEZ
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 s

Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-11 Thread Jean-Charles LOPEZ
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 wrote: > If

Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-11 Thread Gregory Farnum
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 wrote: > Hi Dieter, > > you have a problem with your command. > > You

Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-11 Thread Jean-Charles LOPEZ
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 s

Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-11 Thread Kasper Dieter
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

Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-11 Thread Srinivasa Rao Ragolu
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 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 se

Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-11 Thread Kasper Dieter
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

Re: [ceph-users] rbd create ... STRIPINGV2 and format 2 or later required

2014-03-11 Thread Srinivasa Rao Ragolu
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 wrote: > When using "rbd create ... --image-format 2" in some cases this CMD is > rejected by > EINVAL with the message "librbd: STRI