What did you switch to?
I'm still on 8.4 with an updated kernel ( 6.8.12-22-pve ). Lots of nfs connections on the proxmox host to TN (a vm on this host with the onboard sata controllers passed through). No issue as far as stability. I've been very hesitant to update to 9.x given all these...
It's good that those parameters worked, but disabling ncq is reducing performance. I think the work around is masking the issue rather than solving the problem entirely.
Thanks for sharing. With the issues i ran into above (see previous page), I thought it was related to how disks were passed through to the vm. Yours seems more like a case where the cifs client (nfs too likely) is broken somehow in 9.x in certain scenarios.
Some more data points.
b550/3700x
NFS exports defined in a truenas vm
NFS client was the pve host itself
"cat /dev/random > filename.ext" in the exported folder to geneate nfs load
Monitoring tn pool status with "zpool iostat 1" in the tn vm
Installed prox 8.2 from scratch and retested.. same...
Tested same scenario on a z690/12700k platform. No lockups or crashes with nfs. The only consistent thing about all this is the inconsistency. Previous platform was a b550/3700x. This really does seem to be a case of ymmv type situation.
Following @cosmos255 suggestion above, I retested 9.1 w/kern 6.17 with disk directly attached to TN using sas hba in pass through.
To clarify, truenas resides as a vm under proxmox.
Additional virtual disk (stored on local-lvm created during proxmox install) defined in TN as the zfs vdev.
NFS...
Thanks for replying. So it appears you're passing through a nvme drive?
Did you use this to pass through the disk before - https://pve.proxmox.com/wiki/Passthrough_Physical_Disk_to_Virtual_Machine_(VM) ?
What's interesting, in my testing (post #46), I'm not even passing through a whole disk...
This thread prompted me to do some testing before upgrading the production box.
On a test server, installed pve 8.2 (what i'm running on the prod box), then restored various pve and other config files (think full recovery). Once at a satisfactory state, updated to pve 8.4, then to pve 9.1...
I have a spare unused box consisting of a z690 board and 12700K cpu. Installed using the same iso/external flash drive as on the z97 board. Not sata/ata errors during install. After updated from 6.17.2 to 6.17.4-2 kernel, rebooted. Still no issues.
As for the z97 board, tried a few other...