From couple days I am trying to passthrough sata drives to my Xpeology VM.I need to connect 8 drives (6 for the btrfs pool + 2 extra), so I have to pass the limit somehow. I tried with "qm set" command- works with sata but with scsi it mounts only first drive and only when megaraid is selected. I had enabled IOMMU for Intel in Proxmox grub config file so I could passthrough whole (integrated on mobo) LSI Logic Megaraid 3108 controller where all needed drives are connected. It looks like that:
root@PROXMOX:~# dmesg | grep -e DMAR -e IOMMU
[ 0.010263] ACPI: DMAR 0x00000000799D68C0 0000BC (v01 ALASKA A M I 00000001 INTL 20091013)
[ 0.070731] DMAR: IOMMU enabled
[ 0.163696] DMAR: Host address width 46
[ 0.163697] DMAR: DRHD base: 0x000000fbffc000 flags: 0x1
[ 0.163701] DMAR: dmar0: reg_base_addr fbffc000 ver 1:0 cap d2078c106f0466 ecap f020de
[ 0.163702] DMAR: RMRR base: 0x0000007bc18000 end: 0x0000007bc27fff
[ 0.163703] DMAR: ATSR flags: 0x0
[ 0.163704] DMAR: RHSA base: 0x000000fbffc000 proximity domain: 0x0
[ 0.163706] DMAR-IR: IOAPIC id 1 under DRHD base 0xfbffc000 IOMMU 0
[ 0.163707] DMAR-IR: IOAPIC id 2 under DRHD base 0xfbffc000 IOMMU 0
[ 0.163708] DMAR-IR: HPET id 0 under DRHD base 0xfbffc000
[ 0.163709] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.164051] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 1.153102] DMAR: dmar0: Using Queued invalidation
[ 1.162793] DMAR: Intel(R) Virtualization Technology for Directed I/O
After that I can add the sata/sas controller ( 0000:01:00.0, IOMMU group 26, Lsi Logic/Symbios Logic Megaraid SAS-3 3108 invader, not mediated device) to VM, but after I start it there is no way to login to VM by ip number.
root@PROXMOX:~# dmesg | grep -e DMAR -e IOMMU
[ 0.010263] ACPI: DMAR 0x00000000799D68C0 0000BC (v01 ALASKA A M I 00000001 INTL 20091013)
[ 0.070731] DMAR: IOMMU enabled
[ 0.163696] DMAR: Host address width 46
[ 0.163697] DMAR: DRHD base: 0x000000fbffc000 flags: 0x1
[ 0.163701] DMAR: dmar0: reg_base_addr fbffc000 ver 1:0 cap d2078c106f0466 ecap f020de
[ 0.163702] DMAR: RMRR base: 0x0000007bc18000 end: 0x0000007bc27fff
[ 0.163703] DMAR: ATSR flags: 0x0
[ 0.163704] DMAR: RHSA base: 0x000000fbffc000 proximity domain: 0x0
[ 0.163706] DMAR-IR: IOAPIC id 1 under DRHD base 0xfbffc000 IOMMU 0
[ 0.163707] DMAR-IR: IOAPIC id 2 under DRHD base 0xfbffc000 IOMMU 0
[ 0.163708] DMAR-IR: HPET id 0 under DRHD base 0xfbffc000
[ 0.163709] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.164051] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 1.153102] DMAR: dmar0: Using Queued invalidation
[ 1.162793] DMAR: Intel(R) Virtualization Technology for Directed I/O
After that I can add the sata/sas controller ( 0000:01:00.0, IOMMU group 26, Lsi Logic/Symbios Logic Megaraid SAS-3 3108 invader, not mediated device) to VM, but after I start it there is no way to login to VM by ip number.
Last edited: