Project

General

Profile

Actions

Bug #10407

closed

rbd map fail

Added by wei qiaomiao over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
librbd
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

steps?
(1) create image1 in pool rbd1
rbd create -p rbd1 image1 --size 600000000
(2? resize image1 to 600000
rbd resize image1 -p rbd1 image1 --size 600000000
(3) when image1 is resizing, map image1,and
[root@A22832417 ~]# rbd map -p rbd1 image1
rbd: add failed: (2) No such file or directory
(4) so I create a new image in pool rbd1, named image2
rbd create -p rbd1 image2 --size 600000
(5) map image2 in client host,and the commond is not return
[root@A22832417 ~]# rbd map -p rbd1 image2
^C
next is what 'dmesg' dump in client host:
[ 2858.096316] libceph: osd0 10.118.202.46:6805 socket error on read
[ 2874.090786] libceph: osd0 10.118.202.46:6805 feature set mismatch, my 4a042a42 < server's 104a042a42, missing 1000000000
[ 2874.090793] libceph: osd0 10.118.202.46:6805 socket error on read
[ 2906.084641] libceph: osd0 10.118.202.46:6805 feature set mismatch, my 4a042a42 < server's 104a042a42, missing 1000000000
[ 2906.084648] libceph: osd0 10.118.202.46:6805 socket error on read
[ 2970.197586] libceph: osd0 10.118.202.46:6805 feature set mismatch, my 4a042a42 < server's 104a042a42, missing 1000000000
[ 2970.197592] libceph: osd0 10.118.202.46:6805 socket error on read
[ 2984.274620] libceph: osd6 10.118.202.46:6810 feature set mismatch, my 4a042a42 < server's 104a042a42, missing 1000000000
[ 2984.274628] libceph: osd6 10.118.202.46:6810 socket error on read
[ 3098.425488] libceph: osd0 10.118.202.46:6805 feature set mismatch, my 4a042a42 < server's 104a042a42, missing 1000000000
[ 3098.425495] libceph: osd0 10.118.202.46:6805 socket error on read

Actions #1

Updated by wei qiaomiao over 9 years ago

rbd client kernel is:3.10.1 and my ceph cluster version is 0.80.7

Actions #2

Updated by Sage Weil over 9 years ago

  • Status changed from New to Closed

you need a newer kernel if you are going to have erasure coded pools (or, more specifically, erasure crush rules) in your cluster.

Actions #3

Updated by wei qiaomiao over 9 years ago

thanks!I updated my kernel to version 3.18.1,and it work will.

Actions

Also available in: Atom PDF