Project

General

Profile

Actions

Bug #18543

closed

rbd map lun02 -p hdd2 rbd: sysfs write failed rbd: map failed: (5) Input/output error

Added by rook ker over 7 years ago. Updated about 7 years ago.

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

0%

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

Description

[root@node03 ceph]# rbd map lun02 -p hdd2
rbd: sysfs write failed
rbd: map failed: (5) Input/output error

[root@node03 ceph]# uname -a
Linux node03 3.10.0-229.el7.x86_64 #1 SMP Thu Jan 29 18:37:38 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@node03 ceph]# cat /proc/version
Linux version 3.10.0-229.el7.x86_64 () (gcc version 4.8.3 20140911 (Red
[root@node03 ceph]#

[root@node03 ceph]# dmesg
[1059959.251870] libceph: mon1 192.168.12.40:6789 socket error on read
[1059969.273892] libceph: read_partial_message bad hdr crc 1664015308 != expected 0
[1059969.274464] libceph: mon1 192.168.12.40:6789 socket error on read
[1059979.292810] libceph: read_partial_message bad hdr crc 1381961724 != expected 0
[1059979.293539] libceph: mon0 192.168.12.39:6789 socket error on read
[1059989.314983] libceph: read_partial_message bad hdr crc 1664015308 != expected 0
[1059989.315639] libceph: mon1 192.168.12.40:6789 socket error on read
[1059999.337057] libceph: read_partial_message bad hdr crc 1664015308 != expected 0
[1059999.337817] libceph: mon1 192.168.12.40:6789 socket error on read
[1060009.358681] libceph: read_partial_message bad hdr crc 817670044 != expected 0
[1060009.359338] libceph: mon2 192.168.12.41:6789 socket error on read
[root@node03 ceph]#

[root@node03 ceph]# rpm -qa|grep rbd
librbd1-0.94.3-0.el7.x86_64
python-rbd-0.94.3-0.el7.x86_64
[root@node03 ceph]#

[root@node03 ceph]# ceph osd crush dump

"tunables": {
"choose_local_tries": 0,
"choose_local_fallback_tries": 0,
"choose_total_tries": 50,
"chooseleaf_descend_once": 1,
"chooseleaf_vary_r": 0,
"straw_calc_version": 1,
"allowed_bucket_algs": 22,
"profile": "unknown",
"optimal_tunables": 0,
"legacy_tunables": 0,
"require_feature_tunables": 1,
"require_feature_tunables2": 1,
"require_feature_tunables3": 0,
"has_v2_rules": 0,
"has_v3_rules": 0,
"has_v4_buckets": 0
}
}
Actions #1

Updated by Jason Dillaman over 7 years ago

  • Project changed from rbd to Linux kernel client
Actions #2

Updated by Ilya Dryomov over 7 years ago

  • Assignee set to Ilya Dryomov
  • Priority changed from High to Normal

It looks like you have header CRCs disabled ("ms crc header = false" in ceph.conf). This is not supported by the kernel client -- only data CRCs can be disabled.
Note that in order for it to be effective, you need to disable it both on the OSD and the kernel client sides: "ms crc data = false" in ceph.conf and rbd map -o nocrc.

Actions #3

Updated by Ilya Dryomov about 7 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF