Passing through physical disks to Proxmox VMs has greatly improved the performance and storage management of my virtual machines. In this guide, I'll walk you through the process of locating and preparing your disk, assigning it to a VM, and configuring it within Linux. Additionally, I'll cover how to unlink the disk if needed.
Locate the Disk:
Identify Disk Path:
find /dev/disk/by-id/ -type l | xargs -I{} ls -l {} | grep -v -E '[0-9]$' | sort -k11 | cut -d' ' -f9,10,11,12
/dev/disk/by-id/{disk-serial}
).Assign Disk to VM:
qm set {vmid} -{disk-type}{number} /dev/disk/by-id/{disk-serial}
scsi
; for macOS, use virtio
.Verify and Boot:
qm unlink {vmid} --idlist {disk-type}{number}
{disk-type}{number}
with the appropriate disk identifier (e.g., scsi1).By following these steps, you can easily passthrough physical disks to your Proxmox VMs, enhancing performance and storage management.
Successfully passing through physical disks to Proxmox VMs can greatly enhance their performance and streamline your storage management. By following this guide, you can locate and prepare your disk, assign it to a VM and configure it. With these steps, you can maximize the capabilities of your Proxmox VMs and improve your overall system efficiency.
Stay in the loop with my latest projects and insights! Follow me on Twitter to catch all the updates as they happen. Don't miss out on the journey – let's connect and explore the world of tech together. Click to follow now!