Re: ceph map error

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

 



On Tue, Aug 16, 2016 at 5:18 AM, Yanjun Shen <snailshen@xxxxxxxxx> wrote:
> hi,
>    when i run cep map -p pool rbd test, error
> hdu@ceph-mon2:~$ sudo rbd map -p rbd test
> rbd: sysfs write failed
> In some cases useful info is found in syslog - try "dmesg | tail" or so.
> rbd: map failed: (5) Input/output error
>
> dmesg |tail
> [ 4148.672530] libceph: mon1 172.22.111.173:6789 feature set mismatch, my
> 384a042a42 < server's 40000384a042a42, missing 400000000000000
> [ 4148.672576] libceph: mon1 172.22.111.173:6789 socket error on read
> [ 4158.688709] libceph: mon0 172.22.111.172:6789 feature set mismatch, my
> 384a042a42 < server's 40000384a042a42, missing 400000000000000
> [ 4158.688750] libceph: mon0 172.22.111.172:6789 socket error on read
> [ 4168.704629] libceph: mon1 172.22.111.173:6789 feature set mismatch, my
> 384a042a42 < server's 40000384a042a42, missing 400000000000000
> [ 4168.704674] libceph: mon1 172.22.111.173:6789 socket error on read
> [ 4178.721313] libceph: mon2 172.22.111.174:6789 feature set mismatch, my
> 384a042a42 < server's 40000384a042a42, missing 400000000000000
> [ 4178.721396] libceph: mon2 172.22.111.174:6789 socket error on read
> [ 4188.736345] libceph: mon1 172.22.111.173:6789 feature set mismatch, my
> 384a042a42 < server's 40000384a042a42, missing 400000000000000
> [ 4188.736383] libceph: mon1 172.22.111.173:6789 socket error on read
>
>
> sudo ceph -v
> ceph version 10.2.2 (45107e21c568dd033c2f0a3107dec8f0b0e58374)
>
> hdu@ceph-mon2:~$ uname -a
> Linux ceph-mon2 3.14.0-031400-generic #201403310035 SMP Mon Mar 31 04:36:23
> UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
>
> can you help me ?

Hi Yanjun,

Please disregard Chengwei's message.  The page he linked to clearly
states that hashpspool is supported in kernels 3.9 and above...

Your CRUSH tunables are set to jewel (tunables5).  As per [1],
tunables5 are supported starting with kernel 4.5.  You need to either
upgrade your kernel or set your tunables to legacy with

    $ ceph osd crush tunables legacy

[1] http://docs.ceph.com/docs/master/rados/operations/crush-map/#which-client-versions-support-crush-tunables5

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