ceph 10.2.x rbd map 錯誤一例:測試
rbd: sysfs write failed RBD image feature set mismatch. You can disable features unsupported by the kernel with "rbd feature disable". In some cases useful info is found in syslog - try "dmesg | tail" or so. rbd: map failed: (6) No such device or address
解決方案:spa
rbd info vm-128-disk-1
rbd image 'vm-128-disk-1':
size 102400 MB in 25600 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.95a882ae8944a
format: 2
features: layering, exclusive-lock, object-map, fast-diff, deep-flatten
flags:orm
其實就是kernel-rbd 對這些屬性不支持,it
根據網上案例,配置rbd_default_features = 3 ,測試無效。ast
因而有了終極武器:form
rbd feature disable vm-128-disk-1 exclusive-lock, object-map, fast-diff, deep-flatten配置
查看:object
rbd info vm-128-disk-1
rbd image 'vm-128-disk-1': map
size 200 GB in 51200 objects
size 102400 MB in 25600 objects
order 22 (4096 kB objects)
block_name_prefix: rbd_data.95a882ae8944a
format: 2
features:
flags: im
再進行rbd map vm-128-disk-1 ,ok 問題解決