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] One Disk, multiple DomUs and Linux Swap

To: "Reinhard Brandstaedter" <Reinhard.Brandstaedter@xxxxxx>
Subject: RE: [Xen-users] One Disk, multiple DomUs and Linux Swap
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 23 Jan 2007 12:48:56 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 23 Jan 2007 03:48:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45B602970200004200007862@xxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acc+47L2C/sbxiGaTNyVQ3LBD2pzswAAIP9g
Thread-topic: [Xen-users] One Disk, multiple DomUs and Linux Swap
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Reinhard Brandstaedter
> Sent: 23 January 2007 11:42
> Cc: xen-users@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-users] One Disk, multiple DomUs and Linux Swap
> 
> On Tue, 2007-01-23 at 09:19 -0200, Christopher G. Stach II wrote:
> > Reinhard Brandstaedter wrote:
> > > I'd have to specify an extra disk device for each DomU which
> contains
> > > the swap partition, right?
> > > like 'phy:/dev/vm/test-swap-%d,xvda,r' %vmid
> > 
> > You can export an LV as a whole disk that contains your partition
> table
> > (including a swap partition), or you can export an LV as a partition
> > that is dedicated to swap for a single VM.
> 
> But multiple DomUs sharing a LV thats exported as a read-only disk and
> contains the swap partition doesn't work. It _must_not_ work I guess.

That is correct, but assuming you have some writable (say data)
partition for each guest, you can use that as a disk with a swap and
data partition. 

Alternatively, you could of course avoid swap altogether, but that
assumes your machine has quite a lot of memory... ;-)

--
Mats
> 
> Reinhard
> 
> 
> _______________________________________________
> 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

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