Re: Input/output error

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

 



On Thu, Oct 29, 2015 at 8:13 AM, Wah Peng <wah_peng@xxxxxxxxxxxx> wrote:
> hello,
>
> do you know why this happens when I did it following the official
> ducumentation.
>
> $ sudo rbd map foo --name client.admin
>
> rbd: add failed: (5) Input/output error
>
>
> the OS kernel,
>
> $ uname -a
> Linux ceph.yygamedev.com 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51
> UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>
>
> I tried  this way,
>
> ceph osd getcrushmap -o /tmp/crush
> crushtool -i /tmp/crush --set-chooseleaf_vary_r 0 -o /tmp/crush.new
> ceph osd setcrushmap -i /tmp/crush.new
>
> but got no luck.
>
> my cluster status seems OK,
>
> $ ceph health
> HEALTH_OK
>
> $ ceph osd tree
> # id    weight  type name       up/down reweight
> -1      0.24    root default
> -2      0.24            host ceph2
> 0       0.07999                 osd.0   up      1
> 1       0.07999                 osd.1   up      1
> 2       0.07999                 osd.2   up      1

What's your ceph version and what does dmesg say?  3.2 is *way* too
old,  you are probably missing more than one required feature bit.  See
http://docs.ceph.com/docs/master/rados/operations/crush-map/#tunables.

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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux