Adding additional block devices to XEN guests is accomplished using xm block-attach command. In this example I am exporting an external USB hard drive that was recognized as /dev/sda1 by the hosts kernel. Important thing to keep in mind is that you must use xvdX as the guest block device name.
xm block-attach 6 phy:/dev/sda1 /dev/xvda1 [...]
XEN VM mount external devices
November 23rd, 2009 · 1 Comment
Tags: Installation
