From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: expanding virtual disk based on lvm Date: Tue, 04 Sep 2012 15:53:59 +0300 Message-ID: <5045F9E7.70501@redhat.com> References: <1346185598.26275.28.camel@corn.betterworld.us> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Ross Boylan Return-path: Received: from mx1.redhat.com ([209.132.183.28]:20104 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756860Ab2IDMyK (ORCPT ); Tue, 4 Sep 2012 08:54:10 -0400 In-Reply-To: <1346185598.26275.28.camel@corn.betterworld.us> Sender: kvm-owner@vger.kernel.org List-ID: On 08/28/2012 11:26 PM, Ross Boylan wrote: > My vm launches with -hda /dev/turtle/VD0 -hdb /dev/turtle/VD1, where VD0 > and VD1 are lvm logical volumes. I used lvextend to expand them, but > the VM, started after the expansion, does not seem to see the extra > space. > > What do I need to so that the space will be recognized? IDE (-hda) does not support rechecking the size. Try booting with virtio-blk. Additionally, you may need to request the guest to rescan the drive (no idea how to do that). Nor am I sure whether qemu will emulate the request correctly. -- error compiling committee.c: too many arguments to function