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] Do I need to specify swap parition for domU?

To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
Subject: Re: [Xen-users] Do I need to specify swap parition for domU?
From: "Tim Wood" <twwood@xxxxxxxxx>
Date: Thu, 7 Sep 2006 15:20:23 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Sep 2006 12:21:10 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oQPnAjvcwrhP6DFEpqneOgP3ZjxfJISxTtQ3ucDVg3yLkbp96mnz325+3VA02nTMsU7FWeF0na9XtdKrfVRw/G95PDOJ7FO57YnsETatguO5CB4JpbPM9iM0V/TZEh2OrYQu3tEueRfdeiC0Y8ctExULJ3QNkTMTWjcvGd6Mkg4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <BAY108-DAV37787DE4C9FD26D7BBCE893360@xxxxxxx>
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: <BAY108-DAV141AC7FD006ADE7C2079393440@xxxxxxx> <20060824191555.GB17129@xxxxxxxxxxxx> <BAY108-DAV84171C1A3DCC3BD74E5A593440@xxxxxxx> <BAY108-DAV1E16A13943D2025C111EA93360@xxxxxxx> <9c92ada10609071158l1fe97379qd9adfe52997e3b33@xxxxxxxxxxxxxx> <BAY108-DAV37787DE4C9FD26D7BBCE893360@xxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I think you just need to add your swap volume to the config file with
something like:
disk = ['phy:vg/LogVol00,sda1,w', 'phy:vg/LogVol00,sda2,w']

then you may have to add a line in your domU's /etc/fstab file to
mount the swap drive, ie:
/dev/sda2       none    swap    sw                      0       0

See the xen users manual for more info on setting up disks in teh config files:
http://www.cl.cam.ac.uk/Research/SRG/netos/xen/readmes/user/user.html#SECTION03300000000000000000

good luck

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