Re: Unable to mount Format 2 striped RBD image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 30, 2015 at 11:15 AM, Daleep Bais <daleep@xxxxxxxxxxx> wrote:
> 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.

Well, there is no way to create an image via sysfs, but you can map an
image by writing to /sys/bus/rbd/... instead of using "rbd map".  You
wrote this:

> Getting below error  when trying to mount using echo --- >
> /sys/bus/rbd/add
>
> write error : invalid arguement

which is why I asked if you had used sysfs directly, instead of
something like "rbd map strpimg".

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

You'd have to drop "--stripe-unit 65536 --stripe-count 3" from your
"rbd create" for that to work, at least for now.

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux