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] RE: [Fedora-xen] some initial trouble

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] RE: [Fedora-xen] some initial trouble
From: Steve Brueckner <steve@xxxxxxxxxxxxxx>
Date: Mon, 19 Mar 2007 19:56:38 -0400
Delivery-date: Mon, 19 Mar 2007 16:55:44 -0700
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
Michael Weiner wrote:
> Steve -
> 
> sorry to bother you again, but i needed a sanity check if you wouldnt
> mind. 
> Here is my fc6 disk layout:
> 
> [root@monica debian]# df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/mapper/VolGroup00-LogVol00
>                       36693560  11307464  23492108  33% /
> /dev/hda1               101086     17731     78136  19% /boot
> tmpfs                   237660         0    237660   0% /dev/shm
> 
> and my debian config points to sda1 and sda2 for root and swap, is
> that correct that way? The disk and device pointing at what the vm
> sees?  
> 
> Thanks in advance
> Michael

Your df output looks typical; I think it's the default for an FC
installation.
I don't understand your statement about your domU config, so I'll show you a
couple of mine.  Keep in mind these are for Xen 3.0.2-3 which I think is a
little dated.

kernel = "/boot/vmlinuz-2.6-xen"
memory = 512
name = "webserver"
vif = [ '' ]
dhcp = 'dhcp'
disk = ['phy:/dev/VG_vms/webserver,sda1,w',
        'phy:/dev/VG_vms/swap3,sda2,w']
root = "/dev/sda1 ro"

In this case, both the main filesystem and swap for the domU are LVMs, and I
tell the domU to treat the LVMs as sda1 and sda2 internally.  Note I also
mount the domU main filesystem (sda1) read only so it can pass integrity
checks
while booting; FC will then remount it rw.


kernel = "/boot/vmlinuz-2.6-xen"
memory = 512
name = 'webserver'
vif = [ '' ]
disk = [ 'phy:/dev/VG_vms/webserver,hda1,w',
 
'file://opt/mln/projects/root/control_network/images/swap_webserver,hda2,w'
]
root = '/dev/hda1'
extra = 'ro 2'

In this case, the main file system for the domU is an LVM, but it's swap is
a
file on the dom0 system.  This time I tell the domU to treat the LVM and the
file
as hda1 and hda2 internally.  Note again I mount read only and boot into
runlevel 2,
but using a slightly different syntax.

Sorry but I'm really only a casual user of Xen and barely get by myself.  If
I'm 
not helpful hopefully someone more knowledgeable can step in.

Steve Brueckner, ATC-NY

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

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