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

Re: [Xen-users] problem with virsh attach-device on xen3.4



On Thu, Jun 11, 2009 at 7:12 PM, Pallab
Chakrabarty<pchakrabarty@xxxxxxxxxxxxxxx> wrote:

> No device created at /dev/etherd/ .. even no folder as “etherd”
>
> aoe-stat return nothing ..

If you're talking about domU, then it's normal. Whatever the block
device is on dom0 (/dev/etherd/*, /dev/mapper/*, etc.) domU sees only
/dev/xvda (or whatever you tell it to be).

> $virsh attach-device i-484A07FA ./test.xml
> error: Failed to attach device from ./test.xml
> error: POST operation failed: xend_post: error from xen daemon: (xend.err
> 'Device 2160 (vbd) could not be connected. /dev/etherd/e0.1 does not
> exist.')


> <source dev='/dev/etherd/e0.2'/>

I'd start by looking at this. The error says /dev/etherd/e0.1 while
your xml says otherwise.
You could also try using "xm block-attach", which is simpler.

>
> <target dev='sdh'/>

When everything works correctly, it should appear as /dev/sdh on domU.

-- 
Fajar

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