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 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Problems with attaching block device to DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Problems with attaching block device to DomU
From: "sagnik dhar" <sagnik.dhar@xxxxxxxxx>
Date: Sat, 21 Apr 2007 01:08:49 +0530
Delivery-date: Fri, 20 Apr 2007 12:37:37 -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; b=X2OoZp+TLEj7otblmKOizVeAz0qJR55X5QKVugMFidcDbHT3eGT05SVEqiy1wb+x2hfNifFcc82LPdDvneXDf4PYlqB8C0FvQzWsH+Mgz9GD6oA56DhYKBsuvyvnb9kGmhjKcShyXJmlqRJrOiJUQt3lTyFh1FtdMxsmhRGYi1E=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=h/Bmf3NpNodUyAo02ZZVQshfoszdSmFnN60tl0wbNRMtzTq50SGuW0wrpemeqzuYdW2r23MAG6TIlcTuy+6muaAsKg57QIfD822zKr+9Kz6vtWGgFQkAlTkBwjyB/ZMcGDzTr5INFNzRMmbKpQ62tHE9PaZ7kTkv8cQlbLRAOTg=
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
I am running Xen on Ubuntu. I am trying to attach a block device(usb pen drive) to domU. When i plug in my pen drive, it gets attached to dom0 on /dev/sdb1. I executed the command
xm block-attach 3 phy:/dev/sdb1 /dev/sdc ro (3 is the guest vm's id)

i get the error.
Error: Device 2080 (vbd) could not be connected.
Device /dev/sdb1 is mounted in the privileged domain,
and so cannot be mounted by a guest.

Where am i going wrong? Is the command correct in the first place?

Thanks for the help.
Sagnik
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>