|
|
|
|
|
|
|
|
|
|
xen-users
RE: [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> |
|
|
|
|
|