Hi agin.
I have tried both with and without and it makes no difference.
I have used this domU for almost a year with one physical disk and it works perfectly. But when I try to add a third disk option it won't work. I've tried to use a Debian iso as cdrom but when it is more than two disk options it won't start.
Joakim Joakim, Everything looks fine from what I can see. Only thing that I really have no clue on, is if the phy drives need the ioemu prefix. Maybe someone else who has more experience can give you insight on if that could be the problem. I run mine off LVM and none of mine have that and they work fine. Maybe try removing that and see how it flies.
Shane On Fri, Apr 20, 2012 at 3:51 PM, Joakim Svensson <joakim@xxxxxxxxx> wrote:
Hi, Shane
Thanks for your help
My boot option is set to c.
I include my config file for stuart.
Best regards Joakim Svensson
import os, re arch = os.uname()[4] if re.search('64', arch): arch_libdir = 'lib64' else: arch_libdir = 'lib'
kernel = "/usr/lib/xen-4.0/boot/hvmloader" builder='hvm' memory = 3072 name = "stuart" vcpus=4 vif = [ 'mac=0E:00:00:00:00:14,bridge=xenbr0', 'mac=0E:0E:00:00:00:14,bridge=xenbr1' ]
#disk = [ 'file:/xen/stuart/stuart.img,ioemu:hda,w', 'phy:/dev/sdb,ioemu:hdb,w' ] disk = [ 'file:/xen/stuart/stuart.img,ioemu:hda,w', 'phy:/dev/sdb,ioemu:hdb,w', 'phy:/dev/sdd,ioemu:hdc,w' ]
device_model = '/usr/' + arch_libdir + '/xen-4.0/bin/qemu-dm' boot="c" sdl=0 vnc=1 vnclisten="192.168.1.6" vncdisplay=20 vncconsole=1 vncpasswd='s' Joakim, I am guessing this is a HVM? What is your boot option set to?
Shane
Thanks for your reply but it makes no difference.
It is when I try to pass on more then two devices it stops to work. I have tried both file and phy.
Best regards Joakim Svensson
This may be completely invalid, but have you tried "hdd" instead?
Xen man pages, xl disk configuration, and any other example I have seen always use "hdc" for a cdrom device.
Hi
I would like to add a second physical disk to my file server.
My disk config used to look like this:
disk = [ 'file:/xen/stuart/stuart.img,ioemu:hda,w', 'phy:/dev/sdb,hdb,w' ]
It works and I can mount my disk as /dev/xvde1
But when I add a second disk like:
disk = [ 'file:/xen/stuart/stuart.img,ioemu:hda,w', 'phy:/dev/sdb,hdb,w', 'phy:/dev/sdd,hdc,w' ]
Stuart won't start. During start up it ends at:
XENBUS: Waiting for devices to initialize: 295s...
Could you please help me with this problem, I'm stuck and I can't find any solution.
Best regards
Joakim Svensson
-- Shane D. Johnson IT Administrator
Rasmussen Equipment
-- Shane D. Johnson IT Administrator Rasmussen Equipment
|