Re: [ceph-users] rbd kernel mapping on 3.13

2016-01-30 Thread Ilya Dryomov
On Sat, Jan 30, 2016 at 12:07 AM, Deneau, Tom  wrote:
> Ah, yes I see this...
>feature set mismatch, my 4a042a42 < server's 104a042a42, missing 10
> which looks like CEPH_FEATURE_CRUSH_V2
>
> Is there any workaround for that?
> Or what ceph version would I have to back up to?

Yes, that's CRUSH_V2, supported starting with kernel 3.14. The only
other option if you can't upgrade is to remove SET_* and indep steps
("step set_choose_tries", "step set_chooseleaf_tries", "step choose
indep", "step chooseleaf indep") from all rules in your crushmap.

Thanks,

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


Re: [ceph-users] rbd kernel mapping on 3.13

2016-01-29 Thread Deneau, Tom
Ah, yes I see this...
   feature set mismatch, my 4a042a42 < server's 104a042a42, missing 10
which looks like CEPH_FEATURE_CRUSH_V2

Is there any workaround for that?
Or what ceph version would I have to back up to?

The cbt librbdfio benchmark worked fine (once I had installed librbd-dev on the 
client).

-- Tom

> -Original Message-
> From: Ilya Dryomov [mailto:idryo...@gmail.com]
> Sent: Friday, January 29, 2016 4:53 PM
> To: Deneau, Tom
> Cc: ceph-users; c...@lists.ceph.com
> Subject: Re: [ceph-users] rbd kernel mapping on 3.13
> 
> On Fri, Jan 29, 2016 at 11:43 PM, Deneau, Tom  wrote:
> > The commands shown below had successfully mapped rbd images in the past
> on kernel version 4.1.
> >
> > Now I need to map one on a system running the 3.13 kernel.
> > Ceph version is 9.2.0.  Rados bench operations work with no problem.
> > I get the same error message whether I use format 1 or format 2 or --
> image-shared.
> > Is there something different I need to with the 3.13 kernel?
> >
> > -- Tom
> >
> >   # rbd create --size 1000 --image-format 1 rbd/rbddemo
> >   # rbd info rbddemo
> > rbd image 'rbddemo':
> >   size 1000 MB in 250 objects
> >   order 22 (4096 kB objects)
> >   block_name_prefix: rb.0.4f08.77bd73c7
> >   format: 1
> >
> >   # rbd map rbd/rbddemo
> > rbd: sysfs write failed
> > rbd: map failed: (5) Input/output error
> 
> You are likely missing feature bits - 3.13 was released way before 9.2.0.
> The exact error is printed to the kernel log - do dmesg | tail or so.
> 
> Thanks,
> 
> Ilya
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] rbd kernel mapping on 3.13

2016-01-29 Thread Ilya Dryomov
On Fri, Jan 29, 2016 at 11:43 PM, Deneau, Tom  wrote:
> The commands shown below had successfully mapped rbd images in the past on 
> kernel version 4.1.
>
> Now I need to map one on a system running the 3.13 kernel.
> Ceph version is 9.2.0.  Rados bench operations work with no problem.
> I get the same error message whether I use format 1 or format 2 or 
> --image-shared.
> Is there something different I need to with the 3.13 kernel?
>
> -- Tom
>
>   # rbd create --size 1000 --image-format 1 rbd/rbddemo
>   # rbd info rbddemo
> rbd image 'rbddemo':
>   size 1000 MB in 250 objects
>   order 22 (4096 kB objects)
>   block_name_prefix: rb.0.4f08.77bd73c7
>   format: 1
>
>   # rbd map rbd/rbddemo
> rbd: sysfs write failed
> rbd: map failed: (5) Input/output error

You are likely missing feature bits - 3.13 was released way before 9.2.0.
The exact error is printed to the kernel log - do dmesg | tail or so.

Thanks,

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


[ceph-users] rbd kernel mapping on 3.13

2016-01-29 Thread Deneau, Tom
The commands shown below had successfully mapped rbd images in the past on 
kernel version 4.1.

Now I need to map one on a system running the 3.13 kernel.
Ceph version is 9.2.0.  Rados bench operations work with no problem.
I get the same error message whether I use format 1 or format 2 or 
--image-shared.
Is there something different I need to with the 3.13 kernel?

-- Tom

  # rbd create --size 1000 --image-format 1 rbd/rbddemo
  # rbd info rbddemo
rbd image 'rbddemo':
  size 1000 MB in 250 objects
  order 22 (4096 kB objects)
  block_name_prefix: rb.0.4f08.77bd73c7
  format: 1

  # rbd map rbd/rbddemo
rbd: sysfs write failed
rbd: map failed: (5) Input/output error

I
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com