* [Qemu-devel] resizing qcow2 images?
@ 2010-10-03 16:08 Tomasz Chmielewski
2010-10-04 6:49 ` Stefan Hajnoczi
0 siblings, 1 reply; 5+ messages in thread
From: Tomasz Chmielewski @ 2010-10-03 16:08 UTC (permalink / raw)
To: qemu-devel@nongnu.org
Is it somehow possible to resize qcow2 images?
The only "method" I know is to convert an existing image into a
different format, resizing it, then converting it back to qcow2.
Which is quite lengthy and means plenty of IO. Moreover, it gets even
more tricky if the image is already more than 50% of your storage space
and you still want to increase its size.
Are there any better solutions for qcow2 resizing?
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] resizing qcow2 images?
2010-10-03 16:08 [Qemu-devel] resizing qcow2 images? Tomasz Chmielewski
@ 2010-10-04 6:49 ` Stefan Hajnoczi
2010-10-04 8:24 ` Tomasz Chmielewski
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Hajnoczi @ 2010-10-04 6:49 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: qemu-devel@nongnu.org
On Sun, Oct 3, 2010 at 5:08 PM, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
> Is it somehow possible to resize qcow2 images?
You can grow qcow2 images with:
qemu-img resize <filename> +10G
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] resizing qcow2 images?
2010-10-04 6:49 ` Stefan Hajnoczi
@ 2010-10-04 8:24 ` Tomasz Chmielewski
2010-10-04 8:50 ` Tomasz Chmielewski
0 siblings, 1 reply; 5+ messages in thread
From: Tomasz Chmielewski @ 2010-10-04 8:24 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel@nongnu.org
On 04.10.2010 08:49, Stefan Hajnoczi wrote:
> On Sun, Oct 3, 2010 at 5:08 PM, Tomasz Chmielewski<mangoo@wpkg.org> wrote:
>> Is it somehow possible to resize qcow2 images?
>
> You can grow qcow2 images with:
> qemu-img resize<filename> +10G
I don't see "resize" option in my qemu-img (0.12.5) help / manual.
Was this option added recently?
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] resizing qcow2 images?
2010-10-04 8:24 ` Tomasz Chmielewski
@ 2010-10-04 8:50 ` Tomasz Chmielewski
2010-10-04 14:01 ` Stefan Hajnoczi
0 siblings, 1 reply; 5+ messages in thread
From: Tomasz Chmielewski @ 2010-10-04 8:50 UTC (permalink / raw)
To: Stefan Hajnoczi; +Cc: qemu-devel@nongnu.org
On 04.10.2010 10:24, Tomasz Chmielewski wrote:
> On 04.10.2010 08:49, Stefan Hajnoczi wrote:
>> On Sun, Oct 3, 2010 at 5:08 PM, Tomasz Chmielewski<mangoo@wpkg.org>
>> wrote:
>>> Is it somehow possible to resize qcow2 images?
>>
>> You can grow qcow2 images with:
>> qemu-img resize<filename> +10G
>
> I don't see "resize" option in my qemu-img (0.12.5) help / manual.
>
> Was this option added recently?
I see it's available in 0.13.0-rcX versions of qemu - thanks for the tip!
--
Tomasz Chmielewski
http://wpkg.org
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] resizing qcow2 images?
2010-10-04 8:50 ` Tomasz Chmielewski
@ 2010-10-04 14:01 ` Stefan Hajnoczi
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2010-10-04 14:01 UTC (permalink / raw)
To: Tomasz Chmielewski; +Cc: qemu-devel@nongnu.org
On Mon, Oct 4, 2010 at 9:50 AM, Tomasz Chmielewski <mangoo@wpkg.org> wrote:
> On 04.10.2010 10:24, Tomasz Chmielewski wrote:
>>
>> On 04.10.2010 08:49, Stefan Hajnoczi wrote:
>>>
>>> On Sun, Oct 3, 2010 at 5:08 PM, Tomasz Chmielewski<mangoo@wpkg.org>
>>> wrote:
>>>>
>>>> Is it somehow possible to resize qcow2 images?
>>>
>>> You can grow qcow2 images with:
>>> qemu-img resize<filename> +10G
>>
>> I don't see "resize" option in my qemu-img (0.12.5) help / manual.
>>
>> Was this option added recently?
>
> I see it's available in 0.13.0-rcX versions of qemu - thanks for the tip!
Sorry, I forgot to mention it is recent.
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-04 14:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-03 16:08 [Qemu-devel] resizing qcow2 images? Tomasz Chmielewski
2010-10-04 6:49 ` Stefan Hajnoczi
2010-10-04 8:24 ` Tomasz Chmielewski
2010-10-04 8:50 ` Tomasz Chmielewski
2010-10-04 14:01 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).