Re: Fwd: Re: (no subject)

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

 



Hello,

Can you explain how you do this procedure? I have the same problem with the large images and snapshots.

This is what I do:

# qemu-img convert -f qcow2 -O raw image.qcow2 image.img
# openstack image create image.img

But the image.img is too large.

Thanks,
Fran.

2016-07-13 8:29 GMT+02:00 Kees Meijs <kees@xxxxxxxx>:
Sorry, should have posted this to the list.

-------- Forwarded Message --------
Subject: Re: (no subject)
Date: Tue, 12 Jul 2016 08:30:49 +0200
From: Kees Meijs <kees@xxxxxxxx>
To: Gaurav Goyal <er.gauravgoyal@xxxxxxxxx>


Hi Gaurav,

It might seem a little far fetched, but I'd use the qemu-img(1) tool to
convert the qcow2 image file to a Ceph backed volume.

First of all, create a volume of appropriate size in Cinder. The volume
will be sparse. Then, figure out the identifier and use rados(8) to find
the exact name of the volume in Ceph.

Finally, use qemu-img(1) and point to the volume you just found out about.

Cheers,
Kees

On 11-07-16 18:07, Gaurav Goyal wrote:
> Thanks!
>
> I need to create a VM having qcow2 image file as 6.7 GB but raw image
> as 600GB which is too big.
> Is there a way that i need not to convert qcow2 file to raw and it
> works well with rbd?




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


_______________________________________________
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