XCP

From Hack Sphere Labs Wiki
Jump to navigation Jump to search

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&'"