[Openstack-operators] Is it possible to convert an raw image or a qcow image or a qcow2 image to a volume without importing it

Abel Lopez alopgeek at gmail.com
Wed Sep 3 20:53:47 UTC 2014


Let me see if I understand correctly…
You have large images you want to import into glance, I assume they are RAW format. You could use `qemu-img convert -O qcow2 {raw image} {compressed file}` to convert them to a much smaller size. Why do you need to use volumes for? If you’re using cinder, the image would need to already exist in glance before you can use it for a volume.

On Sep 3, 2014, at 1:27 PM, Jeff Silverman <jeff at sweetlabs.com> wrote:

> Hi.  We have a bunch of images that range in size from 10 GB to 20 GB.  We have to move them across a network before we can import them using glance.
> 
> Is there a way to convert an image to a volume before importing it, please?
> 
> 
> Many thanks,
> 
> 
> Jeff
> 
> 
> -- 
> Jeff Silverman
> Systems Engineer
> (253) 459-2318 (c)
> 
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140903/f121e749/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20140903/f121e749/attachment.pgp>


More information about the OpenStack-operators mailing list