Re: [Openstack] raw or qcow2

2012-04-25 Thread Vishvananda Ishaya
? Did you mistype your comment or misread mine? Raw does NOT work for snapshots. snapshots only work for qcow2. Implementing snapshotting with raw would be possible. Logic just needs to be added to skip the internal snapshot step and just use the entire file when uploading to glance. This

Re: [Openstack] raw or qcow2

2012-04-25 Thread Lorin Hochstein
Since we're talking snapshots, quick doc-related snapshot questions: - Are snapshots only supported on qemu/kvm, or do they work with other hypervisors as well? (Does Xen support qcow2 images?) - Does OpenStack do anything with snapshots other than using them to generate new images? I was a

Re: [Openstack] raw or qcow2

2012-04-25 Thread John Garbutt
...@gmail.com; openstack Subject: Re: [Openstack] raw or qcow2 Since we're talking snapshots, quick doc-related snapshot questions: - Are snapshots only supported on qemu/kvm, or do they work with other hypervisors as well? (Does Xen support qcow2 images?) - Does OpenStack do anything with snapshots other

Re: [Openstack] raw or qcow2

2012-04-25 Thread Vishvananda Ishaya
On Apr 25, 2012, at 7:44 AM, Lorin Hochstein wrote: Since we're talking snapshots, quick doc-related snapshot questions: - Are snapshots only supported on qemu/kvm, or do they work with other hypervisors as well? (Does Xen support qcow2 images?) I was speaking about libvirt/kvm, but the

Re: [Openstack] raw or qcow2

2012-04-25 Thread Caitlin Bestler
Lorin Hochstein asked: Are snapshots only supported on qemu/kvm, or do they work with other hypervisors as well? (Does Xen support qcow2 images?) Does OpenStack do anything with snapshots other than using them to generate new images? I was a little confused by the existence of the

Re: [Openstack] raw or qcow2

2012-04-25 Thread Joshua Harlow
] raw or qcow2 What changes would be needed to make qcow2 files work as snapshots? Some type of image dependency management in glance (and failure cases) and the corresponding dependency fetching in nova (and failure cases)? Might be something pretty useful to have, instead of forcing raw

Re: [Openstack] raw or qcow2

2012-04-25 Thread andi abes
So the ability to create a snapshot, rollback to a snapshot and to create a new snapshot that references a snapshot as its base are strong candidates for abilities to design for volume drivers. Any device that did not support this capability would simply state so. Snapshotting would then

Re: [Openstack] raw or qcow2

2012-04-25 Thread Caitlin Bestler
andi.abes asked: Would this also be applicable to the ephemeral instance storage? An ephemeral instance is essentially a non-persistent clone of a snapshot image. ___ Mailing list: https://launchpad.net/~openstack Post to :

Re: [Openstack] raw or qcow2

2012-04-25 Thread andi abes
On Wed, Apr 25, 2012 at 3:39 PM, Caitlin Bestler caitlin.best...@nexenta.com wrote: andi.abes asked: Would this also be applicable to the ephemeral instance storage? An ephemeral instance is essentially a non-persistent clone of a snapshot image. that's an interesting perspective. But

Re: [Openstack] raw or qcow2

2012-04-25 Thread Caitlin Bestler
Andi Abes wrote: On Wed, Apr 25, 2012 at 3:39 PM, Caitlin Bestler caitlin.best...@nexenta.com wrote: andi.abes asked: Would this also be applicable to the ephemeral instance storage? An ephemeral instance is essentially a non-persistent clone of a snapshot image. that's an interesting

Re: [Openstack] raw or qcow2

2012-04-24 Thread Vishvananda Ishaya
On Apr 17, 2012, at 2:04 AM, William Herry wrote: so, what changes should I make if I want use raw in openstack, I didn't find some configure option in nova.conf.sample I also try to modify the source code in nova/virt/libvirt/utils.py, and didn't succeed I noticed that the type of

Re: [Openstack] raw or qcow2

2012-04-24 Thread Joshua Harlow
What changes would be needed to make qcow2 files work as snapshots? Some type of image dependency management in glance (and failure cases) and the corresponding dependency fetching in nova (and failure cases)? Might be something pretty useful to have, instead of forcing raw for snapshots? On

Re: [Openstack] raw or qcow2

2012-04-24 Thread Caitlin Bestler
Joshua Harlow wrote: What changes would be needed to make qcow2 files work as snapshots? Some type of image dependency management in glance (and failure cases) and the corresponding dependency fetching in nova (and failure cases)? Might be something pretty useful to have, instead of forcing

Re: [Openstack] raw or qcow2

2012-04-24 Thread Joshua Harlow
Ok, but forcing a new block storage project to have this feature, is that the right way? Maybe it will, just wondering. Glance seems to be the registry of images, so a natural progression is that it can maintain the image dependencies? This would allow the qcow2 image to pull the needed

[Openstack] raw or qcow2

2012-04-17 Thread William Herry
Hi all we plan to use openstack on our production, we are not sure which disk type will be the better choice I did a little test on qcow2 and it's performance looks good when I use cache=writeback can some one give us some advice, or some article, cause for such common topic must be discussed

Re: [Openstack] raw or qcow2

2012-04-17 Thread Razique Mahroua
Hi,qcow2 for all the advantages it has : resize, compress, snapshopt, convert, backing files :-) Nuage Co - Razique Mahrouarazique.mahr...@gmail.com Le 17 avr. 2012 à 10:23, William Herry a écrit :Hi allwe plan to use openstack on our production, we are not sure which disk type will be the

Re: [Openstack] raw or qcow2

2012-04-17 Thread Daniel P. Berrange
On Tue, Apr 17, 2012 at 04:23:04PM +0800, William Herry wrote: Hi all we plan to use openstack on our production, we are not sure which disk type will be the better choice I did a little test on qcow2 and it's performance looks good when I use cache=writeback can some one give us some

Re: [Openstack] raw or qcow2

2012-04-17 Thread William Herry
so, what changes should I make if I want use raw in openstack, I didn't find some configure option in nova.conf.sample I also try to modify the source code in nova/virt/libvirt/utils.py, and didn't succeed I noticed that the type of snapshot is same as the instance's image by default, does this