xl block-attach - cool!
Posted by valqk on
Just wanted to copy something from usb flash drive inside my vm.
Wondered what's the fastest and easiest way to do it and viola:
#> xl block-attach 10 phy:/dev/sdb1 xvdf1 w
then, inside vm mount /dev/xvdf1
afterwards detach it (after freeing resources):
># xl block-detach 10 xvdf1
The interesting thing is that the I got about 20MB/s speed from the usb (it is usually that fast - 3.0 usb drive, plugged in 2.0 port).
Wondered what's the fastest and easiest way to do it and viola:
#> xl block-attach 10 phy:/dev/sdb1 xvdf1 w
then, inside vm mount /dev/xvdf1
afterwards detach it (after freeing resources):
># xl block-detach 10 xvdf1
The interesting thing is that the I got about 20MB/s speed from the usb (it is usually that fast - 3.0 usb drive, plugged in 2.0 port).
Trackbacks
Trackback specific URI for this entryThis link is not meant to be clicked. It contains the trackback URI for this entry. You can use this URI to send ping- & trackbacks from your own blog to this entry. To copy the link, right click and select "Copy Shortcut" in Internet Explorer or "Copy Link Location" in Mozilla.
No Trackbacks
Comments
Display comments as Linear | ThreadedNo comments