Proxmox Disk Passthrough Guide#
1. Discovery Commands#
Use these commands to identify physical disks on the Proxmox host.
# Install hardware lister
apt install lshw
# List disks and storage controllers
lshw -class disk -class storage
# List all Physical Disk IDs (The ID needed for passthrough)
ls -l /dev/disk/by-id/
# Advanced list: Maps Device to ID and filters out partitions/LVM
lsblk |awk 'NR==1{print $0" DEVICE-ID(S)"}NR>1{dev=$1;printf $0" ";system("find /dev/disk/by-id -lname \"*"dev"\" -printf \" %p\"");print "";}'|grep -v -E 'part|lvm'2. Configuration Requirements#
Adding Serials (Crucial for TrueNAS/ZFS)#
In TrueNAS manually edit the VM config file to ensure disk serials persist: