public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Ross Boylan <ross@biostat.ucsf.edu>
To: kvm@vger.kernel.org
Cc: ross@biostat.ucsf.edu
Subject: expanding virtual disk based on lvm
Date: Tue, 28 Aug 2012 13:26:38 -0700	[thread overview]
Message-ID: <1346185598.26275.28.camel@corn.betterworld.us> (raw)

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


             reply	other threads:[~2012-08-28 20:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-28 20:26 Ross Boylan [this message]
2012-08-28 21:15 ` expanding virtual disk based on lvm Freddie Cash
2012-08-28 21:33   ` Ross Boylan
2012-08-28 21:33 ` Matthew Patton
2012-08-28 21:40   ` Freddie Cash
2012-09-04 12:53 ` Avi Kivity
2012-09-04 18:58   ` Ross Boylan
2012-09-05  7:25     ` Avi Kivity
2012-09-05  9:15       ` Alexandre DERUMIER

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346185598.26275.28.camel@corn.betterworld.us \
    --to=ross@biostat.ucsf.edu \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox