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

Re: [Xen-users] Physical disk problem



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'



On 20 apr 2012, at 23:24, Shane Johnson <sdj@xxxxxxxxxxxxxxxxxxxxxx> wrote:

Joakim,
I am guessing this is a HVM?  What is your boot option set to?

Shane


On Fri, Apr 20, 2012 at 2:29 PM, Joakim Svensson <joakim@xxxxxxxxx> wrote:
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


20 apr 2012 kl. 20:28 skrev Casey DeLorme <cdelorme@xxxxxxxxx>:

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.

On Fri, Apr 20, 2012 at 5:38 AM, Joakim Svensson <joakim@xxxxxxxxx> wrote:
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




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users



--
Shane D. Johnson
IT Administrator
Rasmussen Equipment





--
Shane D. Johnson
IT Administrator
Rasmussen Equipment


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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