The default format of rbd image in jewel is 2 along with bunch of other deatures enabled , so, you have following two option: 1. create a format 1 image –image-format 1 2. Or, do this in the ceph.conf file [client] or [global] before creating image.. rbd_default_features = 3 Thanks & Regards Somnath From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx]
On Behalf Of EP Komarla All, I am creating an image and mapping it. The below commands used to work in Hammer, now the same is not working in
Jewel. I see the message about some feature set mismatch – what features are we talking about here? Is this a known issue in Jewel with a workaround? Thanks, - epk ========= [test@ep-c2-client-01 ~]$
rbd create rbd/test1 --size 1G [test@ep-c2-client-01 ~]$ rbd info test1 rbd image 'test1': size 1024 MB in 256 objects order 22 (4096 kB objects) block_name_prefix: rbd_data.8146238e1f29 format: 2 features: layering, exclusive-lock, object-map, fast-diff, deep-flatten flags: [test@ep-c2-client-01 ~]$
rbd map rbd/test1 rbd: sysfs write failed In some cases useful info is found in syslog - try "dmesg | tail" or so. rbd: map failed: (13) Permission denied [test@ep-c2-client-01 ~]$ dmesg|tail [1197731.547522] libceph: mon1 172.20.60.52:6789 feature set mismatch, my 102b84a842a42 < server's 40102b84a842a42, missing 400000000000000 [1197731.554621] libceph: mon1 172.20.60.52:6789 missing required protocol features [1197741.571645] libceph: mon2 172.20.60.53:6789 feature set mismatch, my 102b84a842a42 < server's 40102b84a842a42, missing 400000000000000 [1197741.578760] libceph: mon2 172.20.60.53:6789 missing required protocol features [1198586.766120] libceph: mon1 172.20.60.52:6789 feature set mismatch, my 102b84a842a42 < server's 40102b84a842a42, missing 400000000000000 [1198586.771248] libceph: mon1 172.20.60.52:6789 missing required protocol features [1198596.789453] libceph: mon0 172.20.60.51:6789 feature set mismatch, my 102b84a842a42 < server's 40102b84a842a42, missing 400000000000000 [1198596.796557] libceph: mon0 172.20.60.51:6789 missing required protocol features [1198606.813825] libceph: mon1 172.20.60.52:6789 feature set mismatch, my 102b84a842a42 < server's 40102b84a842a42, missing 400000000000000 [1198606.820929] libceph: mon1 172.20.60.52:6789 missing required protocol features [test@ep-c2-client-01 ~]$ sudo rbd map rbd/test1 EP KOMARLA, Emal:
EP.KOMARLA@xxxxxxxxxxxxxxx Address: 677 Gibraltor Ct, Building #2, Milpitas, CA 94035, USA Phone: 408-674-6090 (mobile)
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com