[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Do I need to specify swap parition for domU?


  • To: "Liang Yang" <multisyncfe991@xxxxxxxxxxx>
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.