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


Re: [Xen-users] Using lvm for domUs

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Using lvm for domUs
From: "Tijl Van den Broeck" <subspawn@xxxxxxxxx>
Date: Wed, 2 May 2007 10:56:05 +0200
Delivery-date: Wed, 02 May 2007 01:54:44 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KsimgL7B5iuFydrGssPKbxvG2u+8AunAHqZajxDD1mpuLb2DEzPZBCJsQDwIQljheD/BG68neQPdPMUMOkAcX5mqQLQu3VzN0o/0z1bPF20WOJUTNOi0EcAaGGfoa24UpkRWGQMszVgvBxT48dF25iFn7NIzKPkaEfm0zLpSngw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=X9B665SIB/HNAoHLUtNv7CwSkglsckITFjAoQs23546/NAL5MolWf6pdpnky24Zc0npTHEFxxyY1uFELO4aGrP7ebBYYcAfX2dO9rbFB37w2MIpHZS1FDX+QvOaf9ramgtZEE/dKp18FTB8ruzdeYZsYkTaHJi3tNHRLsHwO4aA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46364D5F.4020503@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: <4170c1720704301129k4cc8eac3m32395ce16c7c20ec@xxxxxxxxxxxxxx> <46363F2B.1090008@xxxxxxxxx> <46364D5F.4020503@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

That said, I'd love to be able to have the DomUs detect partition size
changes without reboots of the DomU

We do use LVM inside domU's for that, the SAN provides fixed size
LUN's, which is transparantly mapped through into the domU using
domU-name as prefix for the groups. It does have some minor annoyances
when performing live migration (ie. your source & target dom0 must be
-aware- of the LVM, so don't forget the rescan for LVM groups). Other
than that, I don't see why not recommending it, as long as your dom0
does not use the LVM, there are no issues with it... and you enable
hot disk space adding :-)

 or even nicer -- have the LVM
handling be passed through to Dom0 directly instead of handled as
emulated partitions.  That is to say, /dev/DomU_VG/logs could be
configured to pass through to Dom0's /dev/main/xen_DomU_logs directly
... but I've never played with the LVM internals so I'm not sure how
likely that is to ever happen.

You're referring to internal "sharing" of an LVM from a dom0 towards a
domU with all its options, right? That's an interesting concept. I
wonder how it would handle on security levels though, I think you'd
have to go beyond the mere "passing-through" of block devices,
possibly mixing things making it too complex to handle.

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>