Re: Unable to mount Format 2 striped RBD image

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

 



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 <idryomov@xxxxxxxxx> wrote:
On Wed, Jul 29, 2015 at 1:45 PM, Daleep Bais <daleep@xxxxxxxxxxx> 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@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