XCP: Difference between revisions

From Hack Sphere Labs Wiki
Jump to navigation Jump to search
Line 1: Line 1:
=SATA to VM Access=
=SATA to VM Access=
*add following lines to /etc/udev/rules.d/50-udev.rules and reboot (will not be persistant across reboots)
*add following lines to /etc/udev/rules.d/50-udev.rules and reboot (will not be persistent across reboots)


<pre>
<pre>

Revision as of 11:24, 18 February 2014

SATA to VM Access

  • add following lines to /etc/udev/rules.d/50-udev.rules and reboot (will not be persistent across reboots)
ACTION=="add", KERNEL=="sdb", SYMLINK+="xapi/block/%k", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
ACTION=="remove", KERNEL=="sdb", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"