TrueNAS Storage Plugin

@SInisterPisces @boomshankerx

Hmm, weird. Nah, it works fine afaik. I've been using TPM+EFI+Q35 based VMs on it just fine.
Having looked at your code a bit I think your plugin manages iSCSI at a lower level than the native ZFS over iSCSI implementation. Proxmox relies on iscsidirect to make the connections.

iscsidirect in QEMU refers to using the built-in iSCSI initiator (via libiscsi) to allow a virtual machine to connect directly to an iSCSI Logical Unit Number (LUN). This bypasses the host operating system's storage stack, meaning the host does not mount the LUN; instead, QEMU manages the connection directly when the VM starts.
 
Last edited:
Having looked at your code a bit I think your plugin manages iSCSI at a lower level than the native ZFS over iSCSI implementation. Proxmox relies on iscsidirect to make the connections.
Proxmox has added support for TPM storage for ZFS over iSCSI in qemu-server: 9.1.10
https://bugzilla.proxmox.com/show_bug.cgi?id=3662

Confirmed this fix is now in the no-subscription repo. Confirmed working on my test systems.
 
  • Like
Reactions: SInisterPisces