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.... Thanks -- View this message in context: http://www.nabble.com/how-to-make-usb-drive-work-with-domU---tf3260481.html#a9061646 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2007-Feb-20 14:00 UTC
Re: [Xen-users] how to make usb drive work with domU ?
On 2/20/07, anant <ANigam@uclan.ac.uk> wrote:> > Hia.. > If i am not wrong, in past someone told me that USB Drive can be accessed in > virtual machine by configuring it.as /dev/sdX as any other block device. Not as usb device. In paravirtual mode there''s no usb forwarding, AFAIK, in HVM there is something, but for it did''n t work - see bug 906 in bugzilla. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
>>as /dev/sdX as any other block device. >>Not as usb device. In paravirtual mode there''s no usb forwarding, >>AFAIK, in HVM there is something, but for it did''n t work - see bug >>906 in bugzilla.i didnt get you... I am having fully virtualized sys with win xp as a guest. So is it possible to have access of usb drive/pen drive over win xp(virtual machine) or not. And this BUGZILLA 906 bug is showing different topics if you google it. Anyway, Thanks for replying. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users -- View this message in context: http://www.nabble.com/how-to-make-usb-drive-work-with-domU---tf3260481.html#a9063251 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Feb-20 15:04 UTC
RE: [Xen-users] how to make usb drive work with domU ?
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of anant > Sent: 20 February 2007 14:56 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] how to make usb drive work with domU ? > > > >>as /dev/sdX as any other block device. > >>Not as usb device. In paravirtual mode there''s no usb forwarding, > >>AFAIK, in HVM there is something, but for it did''n t work - see bug > >>906 in bugzilla. > > i didnt get you... > I am having fully virtualized sys with win xp as a guest. So > is it possible > to have access of usb drive/pen drive over win xp(virtual > machine) or not.You can CERTAINLY (as I''ve mentioned before) use USB-drives from Windows, but they won''t appear as a USB device from Windows itself, they will appear like a hard-drive. If you actually want USB functionality (as in the ability to plug things in and unplug again without suing "tricks", then you will need USB-device-handling within Xen, which I think is the point of bugzilla 906).> > And this BUGZILLA 906 bug is showing different topics if youYou can''t google just for bugzilla 906 or at least not to find just one bug... That''s like googling for "17 High Street" without specifying a town - you''ll find one in just about every town in England. Xen Bugzilla is on http://bugzilla.xensource.com/bugzilla/index.cgi -- Mats> google it. > Anyway, > Thanks for replying. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > > > -- > View this message in context: > http://www.nabble.com/how-to-make-usb-drive-work-with-domU---t > f3260481.html#a9063251 > Sent from the Xen - User mailing list archive at Nabble.com. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 20 Feb 2007 at 5:28, anant wrote:> > Hia.. > If i am not wrong, in past someone told me that USB Drive can be accessed in > virtual machine by configuring it.You could be more concrete about the past and someone. Yes, If you mount an USB drive in Dom0, you can make it available to DomU just like other drives, partitions, and filesystems.> So could any one just let me know how to get hold of this issue....PBTW: People using "..." too frequently are usually lazy to describe their problems in detail. Ulrich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2007-02-21 at 08:39 +0100, Ulrich Windl wrote:> > PBTW: People using "..." too frequently are usually lazy to describe their > problems in detail.Sometimes this means they don''t quite understand the problem, they simply understand that they have a problem, or spent too much time chatting on-line in the early 90''s. Before IM services and IRC, chat was often real time. You would see the other person type as they typed. Clients like Telix that connected to servers (like BBS systems) often did not interpret \n \0 (\r\n) correctly and an indicator that "I''m done talking" had to be employed. This was also sometimes the fault of the software handling the connection (WWIV was famous for this). "..." was understood to mean "Go ahead, I''ve shut up and its your turn.". So, this person is probably not just lazy, they are also probably old.> UlrichI hope someone other than me finds the intended humor in this post, I''m not the best at it. Best, --Tim> > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
<You can CERTAINLY (as I''ve mentioned before) use USB-drives from <Windows, but they won''t appear as a USB device from Windows itself, they <will appear like a hard-drive What exactly do you mean by "use USB-drives from windows",Well i dont care if it will appear like a directory or like normal ..I should be able to access the data from my usb drive over virtual windows. Thats what i want. Ill go through that bugzilla, i think i need an account for it and cant access my email add at the moment...so will look into that later, but if its there as a bug then i guess its not possible to have usb-drive working that way..Anyway ill look into it tonight. Thanks -- View this message in context: http://www.nabble.com/how-to-make-usb-drive-work-with-domU---tf3260481.html#a9077676 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Henning Sprang
2007-Feb-21 20:21 UTC
Re: [Xen-users] how to make usb drive work with domU ?
On 2/20/07, anant <ANigam@uclan.ac.uk> wrote:> i didnt get you... > I am having fully virtualized sys with win xp as a guest. So is it possible > to have access of usb drive/pen drive over win xp(virtual machine) or not. >Again: it depends on _how_ you want to do it: You can export it as block device, as any other block device. When you put in your usb stick, it is mapped to something like /dev/sdb or so, in the dom0 system, and you can export this with the Xen VMs disk config, as any other block device, then the block device is available in the guest. The second way: Exporting USB ports so they are available as USB ports/devices in the guest, _should_ work according to the xen manual, but does not for me.> And this BUGZILLA 906 bug is showing different topics if you google it.Don''t know where you googled, the Xen bugzilla system has this bug registered (by me): http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=906 Hope this makes things more clear now... Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Feb-27 14:38 UTC
Re: [Xen-users] how to make usb drive work with domU ?
> You could be more concrete about the past and someone. Yes, If you mount an > USB drive in Dom0, you can make it available to DomU just like other > drives, partitions, and filesystems.nb. don''t actually *mount* the drive in dom0 if you''re going to export it to the guess (unless you use NFS or something like that). Mounting a device writeable in multiple domains is a sure way to trash your filesystem. Cheers, Mark> > So could any one just let me know how to get hold of this issue.... > > PBTW: People using "..." too frequently are usually lazy to describe their > problems in detail. > > Ulrich > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- 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@lists.xensource.com http://lists.xensource.com/xen-users
Mark Williamson
2007-Feb-27 14:41 UTC
Re: [Xen-users] how to make usb drive work with domU ?
> 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@lists.xensource.com http://lists.xensource.com/xen-users
Hi thanks for the reply.. How can i export the phy. drive to guest. Can you pls provide me with exact command and steps.. Thanks Mark Williamson wrote:> >> 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@lists.xensource.com > http://lists.xensource.com/xen-users > >-- View this message in context: http://www.nabble.com/how-to-make-usb-drive-work-with-domU---tf3260481.html#a9200345 Sent from the Xen - User mailing list archive at Nabble.com. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Feb-28 10:42 UTC
RE: [Xen-users] how to make usb drive work with domU ?
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of anant > Sent: 28 February 2007 09:10 > To: xen-users@lists.xensource.com > Subject: Re: [Xen-users] how to make usb drive work with domU ? > > > Hi thanks for the reply.. > How can i export the phy. drive to guest. > Can you pls provide me with exact command and steps..xm block-attach <domain> <backdev> <frontdev> <mode> For example: xm block-attach my-domain phy:/dev/sdb1 hdb r Of course, you can also add it to the config file if you wish to do this statically - in which case you just use the disk= statement to add the block-device. -- Mats> Thanks > > Mark Williamson wrote: > > > >> 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@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > > -- > View this message in context: > http://www.nabble.com/how-to-make-usb-drive-work-with-domU---t > f3260481.html#a9200345 > Sent from the Xen - User mailing list archive at Nabble.com. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users