[SOLVED] block device/hard disk passthrough, use virtio or scsi?

rampage

New Member
Oct 17, 2016
22
2
3
40
Hi,

While passthrough the hard drive to the kvm guest, am I supposed to use virtio or scsi mode for best IO performance?
The device is identified as scsi0 and scsi1 , so what I used is

qm set 103 -scsi0 /dev/disk/by-id/ata-ST3000DM001-XXXXXXX
qm set 103 -scsi1 /dev/disk/by-id/ata-ST3000DM001-YYYYYYY

Cheers,
 
SCSI is good, as long as you the 'virtio-scsi-pci' controller. You can enable that with:

# qm set 103 -scsihw virtio-scsi-pci
 
SCSI is good, as long as you the 'virtio-scsi-pci' controller. You can enable that with:

# qm set 103 -scsihw virtio-scsi-pci

thanks for the qucik reply.
I checked the qemu configration file and saw
virtio-scsi-pci is the default implementation of scsihw now.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!