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]

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problems with attaching block device to DomU
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: 2007年4月23日 22:46:24 +0100
Cc: sagnik dhar <sagnik.dhar@xxxxxxxxx>
Delivery-date: 2007年4月23日 14:45:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <37913a9d0704201238w328e89fbj713831a83fc97dfc@xxxxxxxxxxxxxx>
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>
References: <37913a9d0704201238w328e89fbj713831a83fc97dfc@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6
> 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?
The pendrive has probably been automatically mounted by Ubuntu. If you 
unmount it you'll be able to export it to the guest safely...
It's probably mounted as /media/usbdisk or similar.
Cheers,
Mark
-- 
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-users] fix the winxp guest image , Songtao Liu
Next by Date: Re: [Xen-users] Managing DomU partitions in XEN+LVM systems? , Mark Williamson
Previous by Thread: [Xen-users] Problems with attaching block device to DomU , sagnik dhar
Next by Thread: [Xen-users] Fw: [workspace-dev] Workspace Release TP 1.2.3 , Tim Freeman
Indexes: [Date] [Thread] [Top] [All Lists]

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

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