diff --git a/IT/Xen whole disk passthrough.md b/IT/Xen whole disk passthrough.md new file mode 100644 index 0000000..def5d0d --- /dev/null +++ b/IT/Xen whole disk passthrough.md @@ -0,0 +1,17 @@ +https://forums.lawrencesystems.com/t/xenserver-hard-drive-whole-disk-passthrough-with-xcp-ng/3433 +"Log into the XCP-NG host and use `lsblk` to find disks available + +On the XCP-NG host create a directory under /srv/ where you will be linking the drives + +`mkdir /srv/pass_drives` + +Create symbolic links to the drives within the created directory, this example uses sda and sdb. Be careful not to use a drive in use either XCP-NG or any other local storage setup. + +`ln -s /dev/sda /srv/pass_drives/sda` +`ln -s /dev/sdb /srv/pass_drives/sdb` + +Create the storage repository + +`xe sr-create name-label=Pass_Drives type=udev content-type=disk device-config:location=/srv/pass_drives` + +The drives should show up inside of XenOrchestra, if not choose “Rescan All Disks” option at the top of the storage page for the new SR." \ No newline at end of file diff --git a/Xen whole disk passthrough.md b/Xen whole disk passthrough.md deleted file mode 100644 index 38b0018..0000000 --- a/Xen whole disk passthrough.md +++ /dev/null @@ -1 +0,0 @@ -https://forums.lawrencesystems.com/t/xenserver-hard-drive-whole-disk-passthrough-with-xcp-ng/3433