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

Re: [Xen-users] blktap howto



you need to create a initrd using mkinitrd with xenblk module.

--------------------

Itamar Reis Peixoto

e-mail: itamar@xxxxxxxxxxxxxxxx
msn: itamarjp@xxxxxxxxxxxxx
skype: itamarjp icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message ----- From: "marek cervenka" <cervajs@xxxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 20, 2007 3:03 PM
Subject: Re: [Xen-users] blktap howto


try

disk = [ 'tap:aio:/var/lib/xen/test.img,xvda1,w', 'tap:aio:/var/lib/xen/test.swap,xvda2,w' ]

this does not help

Using IPI Shortcut mode
XENBUS: Timeout connecting to device: device/vbd/51713 (state 3)
XENBUS: Timeout connecting to device: device/vbd/51714 (state 3)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
VFS: Cannot open root device "xvda1" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)



Itamar Reis Peixoto

e-mail: itamar@xxxxxxxxxxxxxxxx
msn: itamarjp@xxxxxxxxxxxxx
skype: itamarjp
icq: 81053601
+55 34 3238 3845
+55 11 4063 5033
----- Original Message ----- From: "marek cervenka" <cervajs@xxxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 20, 2007 1:28 PM
Subject: [Xen-users] blktap howto


hi,

i'm trying move from file: based disk to tap:aio but things don't work

i have centos4 dom0 with centos4 domU
xen 3.0.4-testing changeset:   13138:d401cb96d8a0 self compiled

[root@xen linux-2.6.16.38-xen]# grep XEN_BLKDEV_TAP .config
CONFIG_XEN_BLKDEV_TAP=m

config
disk = [ 'file:/var/lib/xen/test.img,hda1,w', 'file:/var/lib/xen/test.swap,hda2,w' ]
changed to
disk = [ 'tap:aio:/var/lib/xen/test.img,hda1,w', 'tap:aio:/var/lib/xen/test.swap,hda2,w' ]

blktapctrl do nothing

domU cannot start, fail when mounting root

what i'm doing wrong?
i dont have any kernel module for blktap, is this ok?

---------------------------------------
Marek Cervenka
Centrum Vypocetni Techniky
CVT - http://cvt.fpf.slu.cz
FPF SLU OPAVA - http://www.fpf.slu.cz
LCNA - http://lcna.slu.cz
=======================================


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



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


---------------------------------------
Marek Cervenka
Centrum Vypocetni Techniky
CVT - http://cvt.fpf.slu.cz
FPF SLU OPAVA - http://www.fpf.slu.cz
LCNA - http://lcna.slu.cz
=======================================


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


_______________________________________________
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®.