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

[Xen-users] Re: xm block-attach from dom0 and exception looking up device number for /dev/xvda1 - why ?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Ian Brown" <ianbrn@xxxxxxxxx>
  • Date: Fri, 13 Apr 2007 09:13:03 +0300
  • Delivery-date: Thu, 12 Apr 2007 23:11:58 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uMco6pLTmCG8asvtGZHN+9sVeH6E39PGpenzJuVyjeQR0+blFQUYOlJKwl3AI1REOoP/AG6cf2ao873Qa4IlYf2kLX7x5/nopqDZ91rbOPv48XdLNvbmqt/ZednScDN5INpbnnKGh4U6u0cin/4PiEKUtySDqWW3SUXWWF8gNso=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hello,
Sorry, but am I missing something? is my question so silly that nobody
bother to answer?
Ian

On 4/11/07, Ian Brown <ianbrn@xxxxxxxxx> wrote:
Hello,

I am trying to perform "xm block-attach" from dom0 according to the
Xen blktap README.

What I am trying to do is :

xm block-attach 0 tap:aio:/var/lib/xen/images/guest2/guest2File /dev/xvda1 w 0

whereas "/var/lib/xen/images/guest2/guest2File" is the image which appears
in the domU cofig file:
disk = [ 'tap:aio:/var/lib/xen/images/guest2/guest2File,xvda,w', ...]

I see the following error message in /var/log/xen/xend.log: (of dom0
of course)

[2007-04-11 10:51:24 xend 3123] DEBUG (blkif:24) exception
looking up device number for /dev/xvda1:
[Errno 2] No such file or directory: '/dev/xvda1'

Indeed, ls -al /dev/xvda1 in dom0 gives:
  ls: /dev/xvda1: No such file or directory
and also  running "cat /proc/partitions |grep xvd" from dom0
gives nothing.


I want to add that tring mounting from dom0 onto domU succeeds:
xm block-attach 1 tap:aio:/var/lib/xen/images/guest2/guest2File /dev/xvda1 w
(where 1 is the number of domU).
Also mounting /dev/xvda1 from domU succeeds.

Any idea ? what should I do so that it will succeed ? is this readme
not valid anynmore ??


Ian


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