From 7952b1ad74fb92ff32aa08ad810a2bacc5472037 Mon Sep 17 00:00:00 2001 From: zleyyij Date: Sun, 1 Oct 2023 19:19:19 -0600 Subject: [PATCH] vault backup: 2023-10-01 19:19:19 --- IT/Xen whole disk passthrough.md | 17 +++++++++++++++++ Xen whole disk passthrough.md | 1 - 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 IT/Xen whole disk passthrough.md delete mode 100644 Xen whole disk passthrough.md 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