Add LIO or IET iSCSI target compatibility to SCALE so Proxmox "ZFS over ISCSI" can work natively

Problem/Justification
SCALE doesn’t implement LIO or IET which are required by Proxmox. Storage: ZFS over ISCSI - Proxmox VE

There is a workaround by using a sometimes buggy API. The ask here is to allow Proxmox to more natively be integrated into TrueNAS.

Impact
Big benefits to the vast majority of TrueNAS users if Proxmox integration was more “native” and “out of the box just works” a large amount of people have migrated to Proxmox recently after the vmware exodus.

User Story
Users who leverage Proxmox clusters as their hypervisor want to be able to use TrueNAS managed storage remotely and natively thru Proxmox’s web interface.

9 Likes

I’m also using the FreeNAS / TrueNAS API plugin for the moment. I just noticed that upgrading to 25.04 Fangtooth breaks the plugin completely, which forces me to stay on 24.10 until a better solution comes around. I am really hoping that this feature request gets implemented in the near future, since my setup is very dependent on ZFS-over-ISCSI.

The TrueNAS documentation for 25.04 also mentions that the REST API is deprecated.

1 Like

I dont understand how proxmox does it, but if it requires it to have LIO or IET as the target implementation in TrueNAS instead of SCST this is not going to happen.

Would you mind expanding on why is not going to happen?

does SCST offer something that neither LIO or IET give TrueNAS? What are those things?

You do understand the core of this request is focused on Proxmox, so you could just do what another industry leader does and just build a proxmox plugin for it. Setting Up Highly Available Storage for Proxmox Using LINSTOR & the LINBIT GUI - LINBIT

I could very well reverse the question, a lot of enterprise features are built on top of SCST and changing it to a completely different backend would be a lot of worth and risk regression, so what are the advantages of LIO or IET over SCST?

A request to implement a proxmox plugin is way more reasonable and easier than changing away from SCST.

I don’t disagree. This FR is about someone build a plugin themselves and the thing isn’t reliable, can TrueNAS just natively integrate with Proxmox?

As long as the solution allows a close integration with the hypervisor and its performant, I don’t think people would care how the problem is solved. I did file this request with the information I had available at the time which was proxmox expects XYZ protocols to be used for ZFS over iSCSI to work natively.

Apparently other companies have solved the integration in a different way, by rather than using the protocol solution via LIO or IET they just baked themselves into proxmox with some plugin which is fine solution.

If you feel renaming the title of the FR is appropriate, you have my permission to change it to Native Proxmox VE integration or w/e.

Just wanted to throw some additional weight behind this FR. I’d love to see some kind of officially blessed path to get this working reliably.

Thanks.

Hello,
I’m also intersted. I use ceph with proxmox as main storage in my small clusters but I still have some truenas servers that was used with vmware.
ZFS over iscsi is for now the best implementation.

Proxmox needs to use our APIs to create iSCSI LUNs and do snapshots. Doing manual config via SSH to set up luns without coordination with the TrueNAS backend is a non-starter that will result in broken systems. IIRC this happened in the past (proxmox “zfs over iscsi” causing subtle TrueNAS Core breakage). Forums old timers probably remember having to help people out with recovery after proxmox made a mess of things.

I have a shot in the dark on what might be happening w.r.t 25.04 making the plugin fail, so I’ll see if I can look into this in a few days.

As @awalkerix mentioned, it’s important that this is done through the API in a manner that TrueNAS expects. The “SSH as root” method results in Proxmox bypassing the middleware.

I cant speak for anyone else but I only used the old buggy ssh based plugin to get ZFS over iscsi for my vms. Official support, even via a plugin, is my dream come true.