TrueNAS running in HyperV, HBA rebooting

Hardware:
Gigabyte B760 DS3H AC motherboard
i7-12700
Gskill Flare X5 2x16GB DDR5 ram
Samsung 990EVO 1TB SSD
Seasonic Focus GX-850 power supply
LSI 9300-16i HBA IT mode, version 16.0.12.0

Running windows Server 2025 Datacenter with truenas running hyperV, HBA passed through.

root@truenas[/home/truenas_admin]# sas3flash -listall
Avago Technologies SAS3 Flash Utility
Version 16.00.00.00 (2017.05.02)
Copyright 2008-2017 Avago Technologies. All rights reserved.

    Adapter Selected is a Avago SAS: SAS3008(C0)

Num Ctlr FW Ver NVDATA x86-BIOS PCI Addr

0 SAS3008(C0) 16.00.12.00 0e.01.00.03 08.15.00.00 00:00:00:00
1 SAS3008(C0) 16.00.12.00 0e.01.00.03 08.15.00.00 00:00:00:00

    Finished Processing Commands Successfully.
    Exiting SAS3Flash.

I’m running various WD Red Plus hard drives (7 of them ranging between 8 and 12TB)

In TrueNAS, I can create a pool, data store and SMB share (using raidz2). I can start copying my data over and at some point (about the most I got was around 1TB), it fails and repeatedly said power-on or device reset occured.

I have since set up trueNAS bare metal and I copied 10TB over without any issue at all. I don’t think it’s a temperature think (case is currently open with a box fan pointing at it).

BIOS has VTD enabled.

Any thoughts on anything else I need to check? I suspect it’s a bios/hyperv/windows setting. I can provide any additional information that you need.

Thanks in advance!

Maybe it’s a HyperV thing, maybe your HBA is overheating or just faulty. A box fan is typically not that much airflow over a small area, it does move air but the pressure is low.

So you only have issues with Truenas when you use windows server as the hypervisor & pass through the HBA to truenas? It works just fine bare metal as you stated…

I mean, if you’re dead set on running Truenas as a VM, then give proxmox a test spin. At least it’ll narrow down if this is a passthrough issue or windows server issue?

Otherwise, any reason running bare metal isn’t acceptable?

1 Like

Thanks for the reply. Mostly running windows for the flexibility because there are a couple other nice to have apps that need windows. I can get by without them if need be and then just run TrueNAS bare metal.
I’ll try to give proxmox a test spin at some point. I’ve never used it. Any good walkthrough before I go looking for one?

None off the top of my head - only warning I got is that proxmox also understands zfs… so passthrough the hba/sata controller (as you’re already doing) & blacklist them from proxmox.

Honestly it was very point & click to setup; would recommend slapping it onto a usb stick to just get a feel for it & for a quick ‘does this fix my issue’ test.

Edit; Truenas can also be a hypervisor, I personally don’t have any issues with the vms on my truenas system… I’m sorry that every solution I have for you is “try something else as your hypervisor” btw. I have no windows server experience beyond some 90s version for a very, very legacy product.

1 Like