Passthrough HDD to Unraid VM

proxSid

New Member
Aug 8, 2023
7
0
1
Hello; I am trying to passthrough 2x 4TB HDD to my unRaid VM array and at first I passed them through via the below command
Code:
qm set 100 -scsi1 /dev/disk/by-id/ata-WDC_WD40EFAX-68JH4N1_WD-WXC2D53NEK11

This passes the HDD over but in unRaid they show as 0QEMU_QEMU_HARDDISK and as a result the drives dont spin down - they just hold data.

The 2 drives are on a HBA Controller
Code:
udevadm info -q path -n /dev/sdb
/devices/pci0000:00/0000:00:1c.4/0000:09:00.0/host0/port-0:1/end_device-0:1/target0:0:1/0:0:1:0/block/sdb

udevadm info -q path -n /dev/sdc
/devices/pci0000:00/0000:00:1c.4/0000:09:00.0/host0/port-0:2/end_device-0:2/target0:0:2/0:0:2:0/block/sdc

I am not able to pass the entire HBA card over as I have a drive on there as well for a different VM

I am however able to remove these 2 drives from the HBA card and plug them onto the MB sata ports but this is what my ports look like on the MB

Code:
00:17.0 SATA controller [0106]: Intel Corporation Device [8086:7a62] (rev 11)
        DeviceName: SATA Controller
        Subsystem: ASUSTeK Computer Inc. Device [1043:8882]

Code:
udevadm info -q path -n /dev/sdd
/devices/pci0000:00/0000:00:17.0/ata5/host5/target5:0:0/5:0:0:0/block/sdd

udevadm info -q path -n /dev/sde
/devices/pci0000:00/0000:00:17.0/ata6/host6/target6:0:0/6:0:0:0/block/sde

How can i truly pass these 2 drives over?
 
you can't.
same for all hypervisors.
Only pass whole hba allow real hdd access.
 
What if I remove the 2 drives from the HBA and plug them directly into the MB sata port? Is each sata port able to pass through?
 

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!