From: Alex Brett <alex@alexbrett.net>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] how to enlarge a logical volume that is a virtual disk of a virtual machine that uses lvm too?
Date: Sat, 07 Mar 2009 09:29:55 +0000 [thread overview]
Message-ID: <49B23E93.6090004@alexbrett.net> (raw)
In-Reply-To: <f9d0f9760903061911s6db14df3t1ac602afa411e7e1@mail.gmail.com>
I'm not sure if you could do it online or not (I can't see any reason
why not, but there may be issues), but you should just be able to resize
the LV (lvresize) in dom0 (obviously make sure you enlarge it, not
shrink it), then do a pvresize in the VM to enlarge the PV to use all
the extra space.
Alex
Ricardo Funke Ormieres wrote:
> Hello,
>
> I have a phisical machine with a xen vm installed and I'm using LVM in
> both. The Virtual Machine is using a LogVol (that belongs to the Dom0)
> as it's virtual hard disk.
>
> It's possible to enlarge this LogVol in order to enlarge the vm's hard disk?
>
> I know that I can just create another LogVol in the Dom0 and add it to
> the vm's PV, but I'm curious for that possible alternative.
>
> Thanks in advance
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2009-03-07 9:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-07 3:11 [linux-lvm] how to enlarge a logical volume that is a virtual disk of a virtual machine that uses lvm too? Ricardo Funke Ormieres
2009-03-07 9:29 ` Alex Brett [this message]
2009-03-07 15:51 ` Ricardo Funke Ormieres
2009-03-09 12:05 ` Bryn M. Reeves
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=49B23E93.6090004@alexbrett.net \
--to=alex@alexbrett.net \
--cc=linux-lvm@redhat.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.