[ceph-users] Mounting format 2 rbd images (created in Jewel) on CentOS 7 clients

2016-05-13 Thread Steven Hsiao-Ting Lee
Hi,

I’m playing with Jewel and discovered format 1 images have been deprecated. 
Since the rbd kernel module in CentOS/RHEL 7 does not yet support format 2 
images, how do I access RBD images created in Jewel from CentOS/RHEL 7 clients? 
Thanks!


Steven
___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


Re: [ceph-users] Mounting format 2 rbd images (created in Jewel) on CentOS 7 clients

2016-05-16 Thread Steven Hsiao-Ting Lee
Hi,

Thanks for getting back to me. It turns out that setting crush tunables to 
“optimal” profile caused the problem I encountered. I set it back to “default” 
and specified “layering” as the only image-feature as you suggested fixed the 
problem. Thanks again.


Steven



> On May 13, 2016, at 4:39 PM, Ilya Dryomov  wrote:
> 
> On Fri, May 13, 2016 at 10:11 PM, Steven Hsiao-Ting Lee
>  wrote:
>> Hi,
>> 
>> I’m playing with Jewel and discovered format 1 images have been deprecated. 
>> Since the rbd kernel module in CentOS/RHEL 7 does not yet support format 2 
>> images, how do I access RBD images created in Jewel from CentOS/RHEL 7 
>> clients? Thanks!
> 
> It does support format 2 images.  What it doesn't support is the extra
> features enabled by default in jewel.
> 
>> Do
>> 
>>$ rbd feature disable  
>> deep-flatten,fast-diff,object-map,exclusive-lock
>> 
>> to disable features unsupported by the kernel client.  If you are using the
>> kernel client, you should create your images with
>> 
>>$ rbd create --size  --image-feature layering 
>> 
>> or add
>> 
>>rbd default features = 3
>> 
>> to ceph.conf on the client side.  (Setting rbd default features on the
>> OSDs will have no effect.)
> 
> Thanks,
> 
>Ilya

___
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com