From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWTTB-0002RB-7H for qemu-devel@nongnu.org; Tue, 23 Sep 2014 13:01:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWTT3-0004lR-AS for qemu-devel@nongnu.org; Tue, 23 Sep 2014 13:01:41 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWTT3-0004ks-1n for qemu-devel@nongnu.org; Tue, 23 Sep 2014 13:01:33 -0400 Message-ID: <5421A760.5050906@redhat.com> Date: Tue, 23 Sep 2014 11:01:20 -0600 From: Eric Blake MIME-Version: 1.0 References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Ra8mRNE0LKvK1PgreXdULIkuwlB40TMUA" Subject: Re: [Qemu-devel] Why is virt-resize designed to involve two disks? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?5ZC05b+X5YuH?= , libguestfs Cc: "zwu.kernel" , qemu-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Ra8mRNE0LKvK1PgreXdULIkuwlB40TMUA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/23/2014 04:15 AM, =E5=90=B4=E5=BF=97=E5=8B=87 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. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --Ra8mRNE0LKvK1PgreXdULIkuwlB40TMUA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUIadgAAoJEKeha0olJ0NqBt4H/2gU7Tps0Wft6s+vZC6ZbMs3 /TIZCD4chCWB3xmfUZt6ZnX7T9vYddYdQZ2uivc8irk1S3ZgmWZez9LinIsuE7NB CE1g+ewD69jd6GgNjMcgvaPkG/F8reiNZEdI8kQyYK3Cjk8Mdsmjpm7eqmWB7kPp PNJEb+Dp7ywdMXXCeDYAJrjiT12Hl4T6Y/VScNTTPzZtcOLBpT7ep01EgzTT0bCc LBCj22f/ct62koLJTqUv5grzzHvOkUaRwsAWEI4TYBdz5DfoB++ylPV1IO4HX2kV fuGOoWdhsBgxPyD8g7wGZ236VCabNdWbGn0sBMjSpMbVSV42W7beahCDO7yvYpw= =fU/f -----END PGP SIGNATURE----- --Ra8mRNE0LKvK1PgreXdULIkuwlB40TMUA--