From: Ross Boylan Subject: expanding virtual disk based on lvm Date: Tue, 28 Aug 2012 13:26:38 -0700 Message-ID: <1346185598.26275.28.camel@corn.betterworld.us> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: ross@biostat.ucsf.edu To: kvm@vger.kernel.org Return-path: Received: from upstrm185.psg-ucsf.org ([38.99.193.74]:63508 "EHLO biostat.ucsf.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752639Ab2H1UzF (ORCPT ); Tue, 28 Aug 2012 16:55:05 -0400 Sender: kvm-owner@vger.kernel.org List-ID: 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? The net has references to qemu-resize and virt-resize, but I don't seem to have them. The host system is on QEMU emulator version 0.13.0 (qemu-kvm-0.13.0), Copyright (c) 2003-2008 Fabrice Bellard from the Debian I'm on lenny (it's the upgrade I'm testing). The other problem is that everything on the net refers to files that are disk images; I'm not sure if the same procedures apply when a logical volume is the underlying device. The virtual disks each have 3 partitions. Inside the VM software raid produces dm0 from the 2 first partitions and dm1 from the 2 third partitions. Thanks for any help. Ross Boylan