qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Why is virt-resize designed to involve two disks?
@ 2014-09-23 10:15 吴志勇
  2014-09-23 17:01 ` Eric Blake
  0 siblings, 1 reply; 2+ messages in thread
From: 吴志勇 @ 2014-09-23 10:15 UTC (permalink / raw)
  To: libguestfs; +Cc: zwu.kernel, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

HI,
As you've known, vhd-util and qemu-img both provide the capacity for resizing the original disk, but why is virt-resize designed to involve two disks, not only original disk? Is there any concern? Is it possible that only one original disk is involved in virt-resize?

-- 
Regards,
 
Zhi Yong Wu

[-- Attachment #2: Type: text/html, Size: 1961 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Why is virt-resize designed to involve two disks?
  2014-09-23 10:15 [Qemu-devel] Why is virt-resize designed to involve two disks? 吴志勇
@ 2014-09-23 17:01 ` Eric Blake
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Blake @ 2014-09-23 17:01 UTC (permalink / raw)
  To: 吴志勇, libguestfs; +Cc: zwu.kernel, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

On 09/23/2014 04:15 AM, 吴志勇 wrote:
> HI,

[please configure your mailer to wrap long lines]

> As you've known, vhd-util and qemu-img both provide the capacity for
resizing the original disk, but why is virt-resize designed to involve
two disks, not only original disk? Is there any concern? Is it possible
that only one original disk is involved in virt-resize?

virt-resize is part of libguestfs, and as such is not maintained on this
list.  You'll get better answers about why virt-resize does not support
in-place resizing by asking on that list.  But the answer probably
involves the fact that virt-resize is doing MUCH more than resizing the
block device - it is also copying entire filesystems from the old
location to the new resized location for optimal initial placement.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 539 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-23 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-23 10:15 [Qemu-devel] Why is virt-resize designed to involve two disks? 吴志勇
2014-09-23 17:01 ` Eric Blake

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).