El 04/07/14 17:58, Ilya Dryomov escribi?: > On Fri, Jul 4, 2014 at 11:48 AM, Xabier Elkano <xelkano at hostinet.com> wrote: >> Hi, >> >> I am trying to map a rbd device in Ubuntu 14.04 (kernel 3.13.0-30-generic): >> >> # rbd -p mypool create test1 --size 500 >> >> # rbd -p mypool ls >> test1 >> >> # rbd -p mypool map test1 >> rbd: add failed: (5) Input/output error >> >> and in the syslog: >> Jul 4 09:31:48 testceph kernel: [70503.356842] libceph: mon2 >> 172.16.64.18:6789 feature set mismatch, my 4a042a42 < server's >> 2004a042a42, missing 20000000000 >> Jul 4 09:31:48 testceph kernel: [70503.356938] libceph: mon2 >> 172.16.64.18:6789 socket error on read >> >> >> my environment: >> >> cluster version on all MONs and OSDs is 0.80.1 >> In the client machine: >> >> ii ceph-common 0.80.1-1trusty >> amd64 common utilities to mount and interact with a ceph storage >> cluster >> ii python-ceph 0.80.1-1trusty >> amd64 Python libraries for the Ceph distributed filesystem >> ii librados2 0.80.1-1trusty >> amd64 RADOS distributed object store client library >> >> I think I started getting this error when I switched from tunables >> legacy to optimal after upgrading from 0.72 to 0.80. > Hi Xabier, > > You need to do > > 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 > > or upgrade your kernel to 3.15. > > Thanks, > > Ilya Thansks you Ilya, I changed the crushmap as you said and it solved the problem.