WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

[Xen-users] xm block-attach from dom0 and exception looking up device nu

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xm block-attach from dom0 and exception looking up device number for /dev/xvda1 - why ?
From: "Ian Brown" <ianbrn@xxxxxxxxx>
Date: 2007年4月11日 12:51:15 +0300
Delivery-date: 2007年4月11日 02:50:50 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=GboM73q22x/QA5cs6GgOQz3v1AZdHz1UkWQQkDbq25Bjs81sDmph5ffl40Gg/aKijIhKdb1tk7zc4IRfizpjXCddnDfBQXbpkY4dQChoYqW4xF3KYIVo+Y7+LiSWJfbnmhPOYG5JhiMyqw73UlVrTUppf4vclOIZ50EOY5Q6Ry0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=VN/UqDf8j+oizI5WXW8uIyYVsW/ethq/hjSq2EriTxllkfD2U64uiHTHmc/uZDt4+qU0FRAYtlHXrYXjUy2rtzifVflKdWgo3vssL2ham1Ks6FFtYfV364QVFGsrv/7o1xA/B/x5IC8LoHcZrt1Z7q/RGAdMyMXH8w3FwmUVusw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-users] Storage for DomU , Petersson, Mats
Next by Date: RE: [Xen-users] Storage for DomU , Ashit Kumar
Previous by Thread: [Xen-tools] Storage for DomU , Ashit Kumar
Next by Thread: [Xen-users] Re: xm block-attach from dom0 and exception looking up device number for /dev/xvda1 - why ? , Ian Brown
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /