Hi, all! 

I use rbd to do something and find below issue: 

when i create a rbd image with feature: 
layering,exclusive-lock,object-map,fast-diff 

failed to map: 
rbd: sysfs write failed 
RBD image feature set mismatch. Try disabling features unsupported by the 
kernel with "rbd feature disable". 
In some cases useful info is found in syslog - try "dmesg | tail". 
rbd: map failed: (6) No such device or address 

dmesg | tail: 
[960284.869596] rbd: rbd0: capacity 107374182400 features 0x5 
[960310.908615] libceph: mon1 10.0.10.12:6789 session established 
[960310.908916] libceph: client21459 fsid fe308030-ae94-471a-8d52-2c12151262fc 
[960310.911729] rbd: image foo: image uses unsupported features: 0x18 
[960337.946856] libceph: mon1 10.0.10.12:6789 session established 
[960337.947320] libceph: client21465 fsid fe308030-ae94-471a-8d52-2c12151262fc 
[960337.950116] rbd: image foo: image uses unsupported features: 0x8 
[960346.248676] libceph: mon0 10.0.10.11:6789 session established 
[960346.249077] libceph: client21866 fsid fe308030-ae94-471a-8d52-2c12151262fc 
[960346.254145] rbd: rbd0: capacity 107374182400 features 0x5 

If i just create layering image, map is ok. 

*The question is here:* 

Then i enable feature: 
exclusive-lock,object-map,fast-diff 

It works. 

And rbd info shows all feature i set. 

I think it is a bug: 

why create with those feature then map failed but map after create is ok? 
I think it is more than order question. 

My OS is CentOS Linux release 7.4.1708 (Core), kernel is 3.10.0-693.el7.x86_64. 

Ceph version is 12.2.2 (cf0baeeeeba3b47f9427c6c97e2144b094b7e5ba) luminous 
(stable) 

Thanks 


_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to