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

Re: [Xen-users] how to make usb drive work with domU ?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] how to make usb drive work with domU ?
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 27 Feb 2007 14:41:29 +0000
Cc: anant <ANigam@xxxxxxxxxxx>
Delivery-date: Tue, 27 Feb 2007 06:41:03 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <9061646.post@xxxxxxxxxxxxxxx>
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: <9061646.post@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
> Hia..
> If i am not wrong, in past someone told me that USB Drive can be accessed
> in virtual machine by configuring it.
> So could any one just let me know how to get hold of this issue....

In the special case of a USB drive, plug it into dom0 and export the phy: 
device corresponding to it into the guest.  Look up what device your USB 
drive is in dom0 (e.g. look in the dmesg output), then use that as the phy: 
device to export.  In the guest it'll appear as a normal hard drive.  
*however* the guest won't know it's a USB drive, so you need to unmount it 
(or equivalent) to make sure the data is flushed before you remove the USB 
stick (and then you should probably xm block-remove before you unplug the 
stick).

The other posters in this thread have been talking about dedicating a host USB 
port to guest control: that can be done in principle, but support seems to be 
buggy at the moment.

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