Re: Rbd map command doesn't work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
Sent: Tuesday, August 16, 2016 2:52 PM
To: ceph-users@xxxxxxxxxxxxxx
Subject: Rbd map command doesn't work

 

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,

Flex_RGB_Sml_tm

Emal: EP.KOMARLA@xxxxxxxxxxxxxxx

Address: 677 Gibraltor Ct, Building #2, Milpitas, CA 94035, USA

Phone: 408-674-6090 (mobile)

 


Legal Disclaimer:
The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message!

PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux