how to pass the phiscial disk to a VM virtual machine in Proxmox

First get the id of the disk:
ls /dev/disk/by-id/

get the id like this: ata-ST8000VN004-2M21…

then:
qm set 105 -scsi2 /dev/disk/by-id/ata-ST8000VN004-2M21… ,cache=none,discard=ignore

You may also like...