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 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] LVM backed domu with lvm inside

To: jonr@xxxxxxxxxx
Subject: Re: [Xen-users] LVM backed domu with lvm inside
From: Sadique Puthen <sputhenp@xxxxxxxxxx>
Date: Wed, 16 Jan 2008 12:27:00 +0530
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 15 Jan 2008 22:57:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080115161708.r3oufl48kgc0kcgg@xxxxxxxxxxxxxx>
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>
References: <20080115161708.r3oufl48kgc0kcgg@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070926)
jonr@xxxxxxxxxx wrote:
Hello,

I have a xen box that has a lvm for each of the domU's. I would like to be able to create a vg inside of my domu and put the individual filesystems of the domU on the lv's inside the vg on the domU.

Is this even possible?

Yes, this is possible.

IMHO, it's not a good idea to have LVM on both Dom0 and Dom-U. ie, Define a Logical Volume as the guest backend and again create vg, lv inside the guest. LVM is enough either in dom0 or domU for the purpose of resizing guest volumes. The reason for my opinion is that LVM has 2% performance hit over pysical partitions. So get this hit on both end. So I usually define sda1 or sda2 etc.. as my guest backend and create LVM inside the guest. If I need more space, I would add sdb1 too to the guest and resize the LVM.

--Sadique
Has anybody done something similar and have any notes that they took?


Thanks for any clue,

Jon



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users