#
Disk Passthrough to Proxmox
- Run the command below to list the hard disks, as well as their Model Names and Serial Numbers.
lsblk -o +MODEL,SERIAL,WWN
- After running the command above, find the disk that you’d like to pass through and note down the Model and Serial.
command results showing disk name, model and serial. how to passthrough a disk in Proxmox 3. Run the command below to find the disk by ID. We will use this ID to add it to a VM as this ID will not change.
ls -l /dev/disk/by-id
- Copy the full path (excluding any parts that may exist). We will add this to a command in the next step to add the disk to a VM.
full path that will be included in the command to add the disk to the VM. 5. Run the command below substituting the path that you have with the VM ID and the device type. This will add the disk to the VM.
NOTE: If you are using a SCSI disk already, make sure you increment the number.
qm set [VM_ID] -scsi1 /dev/disk/by-id/[FULL_ID_OF_DISK]
command to add the disk to the vm. 6. After opening the Hardware section of the VM, you’ll see the newly added disk!
disk added to VM.