Re: Not able to map a striped RBD image - Format 2

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

 



On Wed, Mar 1, 2017 at 8:23 PM, Daleep Singh Bais <daleepbais@xxxxxxxxx> wrote:
> Hi,
>
> I am using Ceph Jewel, version 10.2.2 and trying to map a RBD image
> which has stripe parameters to test performance, however, when I try to
> mount it, i get "rbd: map failed: (22) Invalid argument" . Please
> confirm if we cannot use the stripe parameters with this version as well
> and need to go with base stripe parameters as in Format 1.

"Fancy" striping is not currently supported by krbd. Note image format
v1 is (1) deprecated and (2) effectively laid out in the same basic
striping pattern as default v2 images (i.e. stripe unit == object size
and stripe count == 1).

> I have gone through earlier mails and the issue was due to striping not
> being supported.
>
> ~# ceph --version
> ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
>
> root@ceph-host:~# rbd info Stripetest2 -p test-pool
> rbd image 'Stripetest2':
>     size 500 GB in 128112 objects
>     order 22 (4096 kB objects)
>     block_name_prefix: rbd_data.fd3ca238e1f29
>     format: 2
>     features: layering, striping
>     flags:
>     stripe unit: 1024 kB
>     stripe count: 16
> root@ceph-host:~# rbd map Stripetest2 -p test-pool
> rbd: sysfs write failed
> In some cases useful info is found in syslog - try "dmesg | tail" or so.
> rbd: map failed: (22) Invalid argument
>
> Any information about this would be appreciated.
>
> Thanks,
>
> Daleep Singh Bais
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



-- 
Jason
_______________________________________________
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