hi Ilya,

I had used the below command to create the rbd image

rbd -p fool create strpimg --image-format 2 --order 22 --size 2048M
--stripe-unit 65536 --stripe-count 3 --image-feature striping --image-shared

I am confused when you say why I use sysfs instead of rbd cli tool.

Can you please help me? I dont wish to use qemu or virtmanager. I wish to
use this as block device on client PC

Thanks.

Daleep

On Wed, Jul 29, 2015 at 4:19 PM, Ilya Dryomov <idryo...@gmail.com> wrote:

> On Wed, Jul 29, 2015 at 1:45 PM, Daleep Bais <dal...@mask365.com> wrote:
> > Hi,
> >
> > I have created a format 2 striped image, however, I am not able to mount
> it
> > on client machine..
> >
> > # rbd -p foo info strpimg
> > rbd image 'strpimg':
> > size 2048 MB in 513 objects
> > order 22 (4096 kB objects)
> > block_name_prefix: rbd_data.20c942ae8944a
> > format: 2
> > features: striping
> > flags:
> > stripe unit: 65536 bytes
> > stripe count: 3
> >
> >
> > Getting below error  when trying to mount using echo --- >
> /sys/bus/rbd/add
> >
> > write error : invalid arguement
> >
> > if i use a format 1 image, I am able to mount the RBD to client and use
> it.
>
> Custom striping settings (i.e. non-default stripe_unit and
> stripe_count) are not yet supported by the kernel client.
>
> Unrelated, why are you using sysfs directly instead of rbd cli tool?
>
> Thanks,
>
>                 Ilya
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to