Virtio vs sata passthrough

drdownload

Member
Sep 7, 2017
38
1
13
43
I want to move my openmediavault server to a VM in proxmox.

I installed proxmox, added the omv system disk to the server. Added it as virtio2 and booted from it.

Now I want to add my 7 filled data drives also to this VM to have my usual setup running.

1) do I add them as virtio or sata and does it make a difference?
2) 2 disks are on a hda. If I passthrough the controller, I assume I don't have to passthrough the disks extra.
3) does the 6 drives limit for passthrough apply to physical sata drives or how many sata drives I define in qemu?
4) what's the best way to move the omv system drive to a disk image?
 
So I managed to get my OMV installation back running, just with passing the dev/disk/by-id as sata0 -sata5 and 2 drives as virtio.

However smart doenst work. and the drives show up as qemu drives.

Is there a way to get "real" passthrough of the drives. Or would it work with PCIe Controller that are passthroughed?
 

Attachments

  • Bildschirmfoto 2017-09-10 um 21.17.02.png
    Bildschirmfoto 2017-09-10 um 21.17.02.png
    37.1 KB · Views: 53
Hello,

I join you because I ask myself the same question, for example for an SSD with the TRIM function which is important for the longevity of the disc. I was able to test VMware and actually, the disk is actually seen by the virtual machine. It's a shame not to have a little more concrete explanation, the differences between Virtio Block/ Sata or SCSI.

I have a Windows 10 gaming machine whose OS is running on a live SSD but it doesn't see it as such. I'm afraid it'll shoot the SSD.
 
I am in the same boat. I tried passing the disks and everything worked. But like you, I wanted to try passing the SATA controller. I tried that and stuff is in chaos for me right now. Currently I am trying to figure out if you need to blacklist the controller once you do passthrough. This is the page that google turned up.. im in trouble!
 
New here and coming from Hyper-V.
How the TRIM works in virtualization is something i ask myself since a long time and never found a answer.

I asked at Debian:
forums.debian.net/viewtopic.php?f=5&t=125492

Ubuntu:
ubuntuforums.org/showthread.php?t=2377205

Microsoft:
social.technet.microsoft.com/Forums/sharepoint/en-US/aabb382f-f72d-4809-a782-3cec27fed890/freebsd-and-trim-hyperv-server-2016

Somewhere i did read that the host has no access to the virtual disk and the guest has to do it.
But that means the guest must have the ability to send the TRIM command to the controller.
But then there are the integration services that get installed in the guests what means the host has access...
 

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!