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

[Xen-users] Using multiple logical volumes for partitions in domUs

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Using multiple logical volumes for partitions in domUs
From: "Mike Lee" <cslinuxboy@xxxxxxxxx>
Date: Wed, 28 Feb 2007 21:43:00 -0700
Delivery-date: Wed, 28 Feb 2007 20:42:29 -0800
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=kY56Edz0aMWzoqLGhTWQLcFdx7X1728JhNyVmKSpb0J3R3afrFdWvZSF9CxHWKns/ddKGCM5FMfxueomySH7Xc+Q7GmoNmEMjOHpNY8SAEyGH8iKUS2ufG22jOQ2H/sMtdGuYdBZvUGhikFm7AvTiGTT/zPhVMTO6TWrSGEaXQo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=osAaJq2HwB0FU9egbUsizngcllbf99vtVlRFPZP95Dr76zdg5fsWPcMM+Y4k+RzsqzbDFzX9ipl7nsYr4jthKC6d8TY/0hW259sJJOAN542446UbBAPAfMCKge2NGq+b1gfm8Pftb8bOROPvk/3mkjNCI34T1TZQ/00RI4eFAvc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
Hello Everyone,

  I am trying setup a guest domain config file to use multiple logical volumes as the installation partitions for the guest domain.  The guest OS boots from a CentOS 4.4 iso image.  However if I try and specify the physical device in the config file as partitions instead of hard drive devices, the CentOS installer says it does not detect any hard drives.  Below is how I would like it to function and have seen many configs with the same, however the below config does not work:

disk = [ 'phy:/dev/VolGroup1/boot,hda1,w',
'phy:/dev/VolGroup1/swap,hda2,w'
'phy:/dev/VolGroup1/root,hda3,w'
'phy:/dev/VolGroup1/data,hda4,w'
'file:/home/mike/Desktop/CentOS- 4.4-x86_64-binDVD.iso,hdc:cdrom,r' ]

     If I specify the disk for the guest domain as disk = [ 'phy:/dev/VolGroup1/boot,hda,w,...... ] and remove the other phy: listings, then the guest domain boots and finds a hard drive.  However, since I am using logical volumes, my goal is to have the boot, swap, root, etc... partitions on their own logical volumes.  Therefore, I can resize the volumes and the volume's partition when needed.  Exporting just one volume as the entire disk for the guest domain and then having the guest OS create the boot, swap, and root partitions within the volume defeats the purpose of being able to expand for future needs.
     Am I totally missing something here?  I am using Xen 3.0.4 community edition on an x86_64 Dell server. Any advice would be greatly appreciated.  Thanks in advance.

Mike Lee
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>