Linux System Admins Blog

System admins of Promet – an e-commerce, high availability Open Source web shop – share their findings

Linux System Admins Blog header image 4

XEN VM mount external devices

November 23rd, 2009 · 1 Comment

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 [...]

[Read more →]

Tags: Installation