Proxmox 8.4 and TrueNAS 24.10 or 25.04 as iSCSI Target?

Sep 1, 2022
329
83
33
41
Hello,

Is there a guide for using TrueNAS 24.10 or 25.04 as an iSCSI target for Proxmox?

My understanding with older versions of TrueNAS/PVE was that ZFS over iSCSI (add a storage target that acts like a ZFS pool where you can put VM disks) was a bit of a non-starter because the TrueNAS templates didn't really handle it well. Is that still the case?

OTOH, I expect just adding individual zVols to use as virtual disks for VMs where those zVol iSCSI targets are created using the TrueNAS iSCSI wizard should work just fine--aside from leaving you with a huge pile of iSCSI targets visible in your Proxmox UI's storage section depending on how many VMs you have …

The guides I've found for this are all for older versions of PVE or TrueNAS and I'm hoping the current state of things is less gnarly.
 
I'm currently using this plugin on Truenas 24.10. It works great.

There is currently a bug in 25.04 that we are trying to troubleshoot and are waiting for a response from the developer.

https://github.com/TheGrandWazoo/freenas-proxmox/tree/master
Thanks! I appreciate you posting; I came across that repo and from the date of the last release, assumed it was no longer in active development.

I'm not planning to upgrade to 25.04 anytime soon--there's nothing in it I desperately need right now--but I'm a bit wary of integrating the plugin into my Proxmox workflow if it can't be converted over to use websockets (the 25.04 replacement for the old API).

I think i'll try deploying it on Proxmox/TrueNAS this weekend just for testing.

I wonder how difficult it would be for Proxmox to implement the iSCSI protocol that's native to TrueNAS.
 
Update:

There's an issue open exploring Fangtooth 25.04 compatibility.
https://github.com/TheGrandWazoo/freenas-proxmox/issues/205

It doesn't look good right now. The OG dev, TheGrandWazoo, appears inactive. People much smarter than me who are looking at the code are suggesting that a complete rewrite will be needed to enable the use of websockets instead of the pre-Fangtooth API. Somehow, just depreciating the old API broke the plugin's ability to handle HTTP requests correctly, for one thing. There's a lot of detail in there with what's actually happening.

That sounds more like a fork/rewrite than an update.

I'm glad to see the TrueNAS devs looking at this. I'm considering opening a feature request on the PVE side of things, too.
EDIT:
After poking around a bit more, turns out there's an active Bugzilla ticket for TrueNAS ZFS-over-iSCSI compatibility here: https://bugzilla.proxmox.com/show_bug.cgi?id=1448
 
Last edited: