Re: rbd format 2 && stripe-count != 1 cannot be mapped with rbd.ko kernel 3.13.5

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

 



Please see this Email on ceph-devel
---snip---
Date: Thu, 15 Aug 2013 14:30:24 +0200
From: Damien Churchill <damoxc@xxxxxxxxx>
To: "Kasper, Dieter" <dieter.kasper@xxxxxxxxxxxxxx>
CC: "ceph-devel@xxxxxxxxxxxxxxx" <ceph-devel@xxxxxxxxxxxxxxx>
Subject: Re: rbd: format 2 support in rbd.ko ?

On 15 August 2013 12:42, Kasper Dieter <dieter.kasper@xxxxxxxxxxxxxx> wrote:
> When will 'format 2' support be available in rbd.ko ?
>

Format 2 is supported in kernel 3.10 or newer.
---snip---

This was also the statement from Sage on the Ceph day in Frankfurt two weeks ago
(as far as I understood)

-Dieter


> 
> krbd doesn't support STRIPINGV2 yet, so that EINVAL is correct.  The
> reason you can 'rbd map' a --image-format 2 image in general is that v2
> with default striping parameters behaves exactly the same as v1.
> 
> Thanks,
> 
>                 Ilya

On Wed, Mar 12, 2014 at 02:33:21PM +0100, Ilya Dryomov wrote:
> On Wed, Mar 12, 2014 at 2:02 PM, Kasper, Dieter
> <dieter.kasper@xxxxxxxxxxxxxx> wrote:
> > No difference:
> >
> >
> >
> > [root@rx37-0 ~]# rbd map --pool SSD-r2 t2-1
> >
> > rbd: add failed: (22) Invalid argument
> >
> >
> >
> > [root@rx37-0 ~]# dmesg | tail
> >
> > (...)
> >
> > rbd: image t2-1: unsupported stripe unit (got 1048576 want 4194304)
> >
> >
> >
> > The strace of 'rbd map' says:
> >
> > open("/sys/bus/rbd/add", O_WRONLY) = 3
> >
> > write(3, "192.168.113.13:6789,192.168.113.14:6789,192.168.113.15:6789
> > name=admin,key=client.admin SSD-r2 t2-1", 99) = -1 EINVAL (Invalid argument)
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux