From b708740133678daf9a5188e6675d76174881baff Mon Sep 17 00:00:00 2001 From: TiynGER Date: Tue, 1 Dec 2020 15:51:09 +0100 Subject: [PATCH] proxmod: added usb passthrough --- wiki/linux/disk-management.md | 2 +- wiki/proxmox.md | 41 +++++++++++++++++++++++++++++++---- 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/wiki/linux/disk-management.md b/wiki/linux/disk-management.md index bdea838..7209536 100644 --- a/wiki/linux/disk-management.md +++ b/wiki/linux/disk-management.md @@ -8,7 +8,7 @@ the free space after it. SSH into the VM. - run `lsblk` check if the disk size has changed -- if not `reboot` the virtual machine +- if not `reboot` the machine In the following it is assumed that the partition to enlarge is `/dev/sda2` diff --git a/wiki/proxmox.md b/wiki/proxmox.md index 156c464..287a40f 100644 --- a/wiki/proxmox.md +++ b/wiki/proxmox.md @@ -8,13 +8,46 @@ Proxmox is an environment for virtual machines and containers. SSH into Proxmox. Enlarge a disk by using: -`qm resize ` + +```shell +qm resize +``` + For example: -`qm resize 100 ide0 +100G` -## PCI/GPU passthrough +```shell +qm resize 100 ide0 +100G +``` + +After that grow the filesystem as described in [the disk-management article](linux/disk-management.md). + +qm resize 100 ide0 +100G + +## VM passthrough + +### USB passthrough + +On the host system find the usb you're looking to pass through with + +```shell +lsusb +``` + +Then assign it to the vm using + +```shell +qm set -usb host= +``` + +for example + +```shell +qm set 101 -usb0 host=aaaa:8816 +``` + +### PCI/GPU passthrough To use GPUs or other PCI devices you need to work with PCI passthrough. For documentation you can look in the [Proxmox wiki](https://pve.proxmox.com/wiki/Pci_passthrough). -There is also an[article](https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough) +There is also an [article](https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough) on reddit, that focusses especially on windows 10 VMs with GPU passthrough.