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] cant use sda on domu

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] cant use sda on domu
From: Holm Kapschitzki <holm@xxxxxxxxxx>
Date: Tue, 25 Nov 2008 18:25:52 +0100
Delivery-date: Tue, 25 Nov 2008 09:29:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <492BCA3E020000990003159F@xxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <492BCA3E020000990003159F@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)
Nick Couchman schrieb:
I wasn't referring to the kernel config, I was referring to the config file used to create the domU.

xen-tools.config:

lvm = lvmxen
debootstrap = 1
size   = 20Gb
dist   = etch
kernel = /boot/vmlinuz-2.6.18.8-xen
arch=amd64
mirror = http://ftp2.de.debian.org/debian/

.cfg file:


kernel      = '/boot/vmlinuz-2.6.18.8-xen'
memory      = '3584'
vcpus = 2
extra='xencons=tty1'
root        = '/dev/sda2 ro'
disk        = [
                  'phy:/dev/lvmxen/example.com-swap,sda1,w',
                  'phy:/dev/lvmxen/example.com-disk,sda2,w',
              ]

extra='xencons=tty1'
name        = 'example.com'

vif         = [ 'ip=xxx,mac=00:16:3E:61:AC:A1,vifname=xx.ka' ]
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'


xen-create-image --hostname example.com --swap=4096Mb --ip=xxx --netmask=255.255.255.248 --gateway=xxx --memory=3584Mb --passwd --size=400GB


Since you're using PV domUs you don't need to worry about SCSI vs. IDE devices. I recommend using the "xvd*" naming (xvda, xvdb, etc.) for your disk devices.

I had to say, that i am using softwareraid to. I know you are right with it. But like myny other users they use "sda". In the official doku they use sday, so i had to be able to use it too or something is misconfigured.

Holm






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