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

Re: [Xen-users] cant use sda on domu


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Holm Kapschitzki <holm@xxxxxxxxxx>
  • Date: Tue, 25 Nov 2008 18:25:52 +0100
  • Delivery-date: Tue, 25 Nov 2008 09:29:09 -0800
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

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