Re: Heads up: libvirt produces unusable images from RBD pool on Ubuntu trusty

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

 



On 04/22/2015 03:38 PM, Wido den Hollander wrote:
> On 04/22/2015 03:20 PM, Florian Haas wrote:
>> I'm not entirely sure, though, why virStorageBackendRBDCreateImage()
>> enables striping unconditionally; could you explain the reasoning
>> behind that?
>>
> 
> When working on this with Josh some time ago we had to come up with a
> way to create RBD format 2 images before the RBD default format option
> was available.
> 
> The only way to do it was to set the stripe size and count specifically
> and check in libvirt which version librbd was.
> 
> This code could be changed again if we want by doing:
> 
> rados_conf_set(ptr->cluster, "rbd_default_format", "2");
> rbd_create(.....);
> 
> Any recent librbd library would create format 2 images then. Since there
> is no way to feed any metadata to libvirt when creating an image this is
> the only way to go.

OK, thanks. I guess I got confused by the fact that when I do "rbd
create --image-format 2", the image is automatically configured to be
layered, but not automatically striped.

Cheers,
Florian

_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux