From: "Sven Kretzschmar" Subject: Problem exporting enbd device from Dom0 to DomU Date: Fri, 06 Aug 2004 16:00:00 +0200 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <200408061600000783.014E2949@mail.gmx.de> References: <200408061348320783.00D5CCC9@mail.gmx.de> Reply-To: sven.kretzschmar@gmx.de Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org I have got enbd to work in Dom0 (kernel 2.6.7). This means I can access a remote block device on another physical server from Dom0. I have put a file system on it, copied around, etc. Works. So far so good.... When I try to export the enbd device ("dev/nda") from Dom0 to another unprivileged domain (with kernel 2.4.26) then it does not work. The interesting part of my xmdefaults file looks like that: disk =3D ['phy:nda,sdb,w','phy:hda3,sda1,w] ... root =3D "/dev/sda1 ro" I am using sda1 as root device and wanted to use sdb as an additonal device to play with. I am starting the xen-U domain like this: xm create cpu=3D-1 ip=3D192.168.1.75 and the xend log shows: [2004-08-06 16:35:52 xend] DEBUG (__init__:988) init_domain> Created= domain=3D3 name=3DExampleDomain1 memory=3D256 [2004-08-06 16:35:52 xend] INFO (__init__:988) Created console id=3D13= domain=3D3 port=3D9603 [2004-08-06 16:35:52 xend] DEBUG (__init__:988) Creating vbd dom=3D3= uname=3Dphy:nda dev=3Dsdb [2004-08-06 16:35:52 xend] DEBUG (__init__:988) Creating vbd dom=3D3= uname=3Dphy:hda3 dev=3Dsda1 [2004-08-06 16:35:52 xend] DEBUG (__init__:988) Creating vif dom=3D3= vif=3D0 mac=3Daa:00:00:49:eb:59 [2004-08-06 16:35:52 xend] DEBUG (__init__:988) Error: Adding extent to vbd= failed! (device 2b00) [2004-08-06 16:35:52 xend] DEBUG (__init__:988) Connecting blkif to event= channel dom=3D3 ports=3D14:4 I think the line starting with "Error:..." is the important one. What does= device 2b00 mean ? Btw: I am only trying to create exactly one (unpriv.) Domain. When I try to access /dev/sdb in the created Domain, I receive an "is not a= valid block device" error, exactly like with any other unassigned device. Are there any known problems with enbd devices and xen ? Did I made a configuration mistake ? Has anybody else tried to get enbd to work with xen (with 2.6.7 Dom0 and= 2.4.36 DomU) ? TIA + Regards, Sven ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com