Resilvering on Hyper-V TrueNAS

Hello all,
Running TrueNAS Scale Dragonfish-24.04.1.1 on Win11 Hyper-V as a backup for my local NAS. Storage capacity: 7x500GB - raidz1
I tried to swap 1 HD that was not fully healthy but as Resilvering occurs - it stuck about 80% and gets the following prints:

can someone assist what would be the problem?
Thanks.

Please post detailed hardware and how you virtualized on Hyper-V. It could help with answers

Posting link to a TrueNAS guide
https://www.truenas.com/blog/yes-you-can-virtualize-freenas/

and the Hyper-V section link
https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/plan/plan-for-deploying-devices-using-discrete-device-assignment

Hi, Thanks for your response.

I’m running hyper-v on win11 as noted.
All drives are pass-through as physical drives and not VHD.
Connected to on-board SATA controllers.
HW:
GIGABYTE Z170x Gaming 7
Banch of 7x500 HDDs.
1TB M.2 SSD Samsung 980 Pro

I read your attached links and it seems that I did it correctly, just can’t understand what the problem is with Resilvering.

Any other data is missing?

This is known to cause problems and potentially data loss.

The only safe way is to pass through an entire HBA to which the drives are connected.

is there any way of doing it with the above HW or do I need a dedicated LSI card (which I have on my main TN system)?

The latter. You must have a dedicated HBA.

Depending on the mainboard architecture one might get away by passing through the entire SATA controller - but where will you connect the hypervisor boot drive, then?

if I remember correctly my MB has 2 controllers so from this side it should be ok (no special storage needed except the NAS and the M.2 SSD)

Can you share a link on how to pass through the SATA controller to Hyper-V?

No, I do not use Hyper-V. I would search for a way to add a PCI(e) device to the VM.