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

[Xen-users] Block-attach USB devices


  • To: xen-users@xxxxxxxxxxxxx
  • From: Franz Flintzer <fflintzer@xxxxxxxxx>
  • Date: Wed, 6 Aug 2014 12:28:02 -0700
  • Delivery-date: Wed, 06 Aug 2014 19:29:09 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi,

I am using xen 4.3.2 and trying to hotplug usb flash drives. I have a
Fedora 20 host and a Windows 7 DomU (hvm).

When using "xl block-attach" I can successfully attach a USB-device in
write mode and make changes to it in DomU. They are only saved to the
USB if I detach it from within the Dom0 ("xl block-detach").
In Windows there is no option to safely eject though because the
device is seen as a hard drive.

I am thinking this has to do with Windows writing to the memory first
for performance reasons.
With flash drives imo Windows writes straight to the drive to prevent data loss.

Is there a way to let the Windows DomU recognize the device as a USB
flash drive?

The command I am using right now looks like this:
xl block-attach windows phy:/dev/sdb1 sdb w

Thank you for your help
Franz

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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