[Libguestfs] Why is virt-resize designed to involve two disks?

2014-09-23 Thread Zhi Yong Wu
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

[Libguestfs] Why is virt-resize designed to involve two disks?

2014-09-23 Thread 吴志勇
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

Re: [Libguestfs] Why is virt-resize designed to involve two disks?

2014-09-23 Thread Richard W.M. Jones
On Tue, Sep 23, 2014 at 06:19:21PM +0800, Zhi Yong Wu wrote: As you've known, vhd-util and qemu-img both provide the capacity for resizing the original disk, .. although they only resize the container, not the contents which is what virt-resize does. So these tools are not really comparable.

Re: [Libguestfs] Why is virt-resize designed to involve two disks?

2014-09-23 Thread Zhi Yong Wu
On Tue, Sep 23, 2014 at 8:11 PM, Richard W.M. Jones rjo...@redhat.com wrote: On Tue, Sep 23, 2014 at 06:19:21PM +0800, Zhi Yong Wu wrote: As you've known, vhd-util and qemu-img both provide the capacity for resizing the original disk, .. although they only resize the container, not the