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

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

  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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.
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.