passthrough specific logical disk to a vm win10

v.mikhailov

New Member
Jul 20, 2021
2
0
1
44
Hi,

First, it is not possible to "passthrough" only a single partition (at least it would not be easy and it would not be what you want).

If this is a USB-HDD I would recommend passing through the whole USB device. Otherwise, you would have to follow your tutorial. In both of these cases you will be able to see C: and D: but you can change the letters in windows itself, I think?
 
you can passthrough a partition to a VM:
for example passthrough /dev/sda1 on host to VM as a SCSI disk:
Code:
qm set VMID -scsi0 /dev/sda1
beware that device passthrough will inhibit migration of that VM to another cluster node
 
Last edited:
  • Like
Reactions: v.mikhailov
you can passthrough a partition to a VM:
for example passthrough /dev/sda1 on host to VM as a SCSI disk:
Code:
qm set VMID -scsi0 /dev/sda1
beware that device passthrough will inhibit migration of that VM to another cluster node
thank`s
but "-scsi0" didn't helps me((
command was executed successfully, but disk don't appear in vm ((
this works for me: qm set 100 -ide3 /dev/sda2
 
IDE has crappy performance. You might want to try SCSI with "virtio SCSI" for better performance. For that you need to install the virtio drivers to your win guest first.