On Tue, May 15, 2018 at 10:07 AM, <xiang.dai@xxxxxxxxxxx> wrote: > 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? Yes, it is a bug. There is a patch pending from Dongsheng, so it will be fixed in 4.18. If you are told that these features are unsupported, you shouldn't be looking for backdoor ways to enable them ;) Thanks, Ilya _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com