WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] Re: DomU on LVM

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: DomU on LVM
From: "Tomasz Nowak" <tnowak-p@xxxxxxxxxxxxx>
Date: Thu, 8 May 2008 15:12:03 +0200
Delivery-date: 2008年5月08日 06:12:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Netventure
References: <4822F513.7000705@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Wolfgang Rosenauer <wolfgang.rosenauer@xxxxxxxxxx> wrote:
So my plan was to use LVs directly as partitions in the guest
/dev/vg/lv1 -> /dev/hda1
/dev/vg/lv2 -> /dev/hda2 (or /dev/hdb1 FWIW)
AFAIK this way is not to be supported in the future.
I've managed to make it work (for each disk but /root (or /boot))
but then I've realised there are no advantages of such setup.
So IMHO a better way to do it is to export each lv as
a separate disk and make one single partition of whole
such disk in domU:
/dev/vg/lv1 -> /dev/hda -> /dev/hda1 --> /
/dev/vg/lv2 -> /dev/hdb -> /dev/hdb1 --> /var
/dev/vg/lv3 -> /dev/hdc -> /dev/hdc1 --> /home
Resizing is extremly easy (lvextend, resize2fs)
and it can be done online if ext3 is used.
The only disadvantage is you can't mount such filesystem
directly, you need to run 'kpartx -a' first to map nested
domuU block devies in dom0. But that's also pretty easy.
--
Tomek
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] DomU on LVM , Wolfgang Rosenauer
Next by Date: Re: [Xen-users] Re: DomU on LVM , Nick Anderson
Previous by Thread: [Xen-users] DomU on LVM , Wolfgang Rosenauer
Next by Thread: Re: [Xen-users] Re: DomU on LVM , Nick Anderson
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /