A Proxmox node and a TrueNAS box on the same switch have always been able to talk iSCSI. Until now, though, someone had to create every zvol, extent and LUN by hand, or trust a community patch to do it. The official TrueNAS Proxmox plugin closes that gap: Proxmox asks TrueNAS for a disk over its API, TrueNAS carves a zvol and publishes it, and the node logs in to it over iSCSI or NVMe/TCP.
This guide wires both systems together end to end. We’ll prepare TrueNAS, install the truenas proxmox plugin from its APT repository, add an iSCSI storage, then a second one over NVMe/TCP, and prove every snapshot, clone and resize on the TrueNAS side, not just in the Proxmox GUI. We confirmed the setup working on Proxmox VE 9.3 with TrueNAS 25.10.8 and plugin 2.1.24 in December 2026.
The timing matters. On December 1, 2026 Proxmox announced that TrueNAS has joined its partner ecosystem as an official Solution Provider, with the plugin available now. That makes this the supported path for anyone who was running the community freenas-proxmox patches.
Map the handshake between Proxmox and TrueNAS
Two links carry the whole integration, and it helps to keep them apart when something breaks. The control link is the TrueNAS API, which the plugin reaches over a secure WebSocket on port 443 with an API key. The data link is plain block storage: open-iscsi on port 3260, or the kernel’s NVMe/TCP initiator on port 4420.

When you create a VM disk, the steps run in the order the diagram numbers them. In step 1 the plugin hands the request to truenas-plugin-broker, a small service that keeps one API session per node, and the broker calls TrueNAS over wss on 443, where TrueNAS creates the zvol under your dataset and maps it to the target as a new LUN (or to the NVMe subsystem as a namespace). In step 2 the plugin tells open-iscsi to log in or rescan, and in step 3 the new block device arrives over port 3260, so QEMU opens it like any local disk. Because step 1 and step 3 use different ports and different daemons, a firewall rule can break one while the other looks healthy.
Our lab ran a single Proxmox node, pve01 at 10.0.1.10, and TrueNAS at 10.0.1.50 on the same bridge. That is a floor for following along, not a production design. In production the sizing drivers are the storage network (a dedicated 10 or 25 GbE link, ideally two paths), RAM for the ZFS ARC on TrueNAS, and pool layout: mirrors serve VM random I/O far better than wide RAIDZ. Our NAS picks for Proxmox shared storage cover the hardware side.
The plugin README sets the floor at TrueNAS 25.10 for both transports, and it only supports TrueNAS SCALE, so TrueNAS CORE is out. On the Proxmox side the APT repository ships builds for Proxmox VE 8 (bookworm) and 9 (trixie), and iSCSI runs on either. NVMe/TCP is stricter: the plugin’s NVMe/TCP setup guide asks for Proxmox VE 9.x or later, TrueNAS 25.10.0 or later and nvme-cli 2.0+, and the configuration reference lists every storage option both transports take. Check both versions before you start, because the NVMe/TCP fix covered later only exists on recent TrueNAS builds, and an older NAS is the most common cause of trouble on the tracker.
Prepare the TrueNAS side
TrueNAS needs four things before Proxmox can use it: running block services, a parent dataset, an iSCSI target for the plugin to hang LUNs on, and an API key. If you’re building the NAS from scratch, our walkthrough on how to build a ZFS storage server with TrueNAS SCALE gets you to a healthy pool first.
Start the iSCSI and NVMe-oF services
Open System, then Services. Both block services are stopped on a fresh install, and the plugin won’t start them for you. Work down the list in the order the figure numbers it:
- Click Start iSCSI (the play button in the iSCSI row).
- Toggle Start Automatically on for iSCSI so the target survives a NAS reboot.
- Click Start NVMe-oF if you plan to use NVMe/TCP.
- Toggle Start Automatically on for NVMe-oF as well.

- 1Start iSCSI
- 2Start Automatically
- 3Start NVMe-oF
- 4Start Automatically
Skipping the NVMe-oF service doesn’t break iSCSI, so you can leave it off until you reach the NVMe/TCP section further down. The Start Automatically toggles matter more than they look. A NAS that reboots for an update comes back with the services stopped unless they’re set, and every VM on it then loses its disks at once, so set them now rather than after the first outage.
Create the dataset and the iSCSI target
Under Datasets, add a dataset called proxmox under your pool (ours is tank) with the Generic preset. Every VM disk lands as a zvol beneath tank/proxmox, so quotas and replication tasks you set on that dataset cover the whole Proxmox estate.
For iSCSI, the plugin wants one target it can publish many LUNs on. Open Shares, then the Block (iSCSI) Shares Targets card. Leave the global Base Name on its default iqn.2005-10.org.freenas.ctl; the README warns that a Base Name not starting with iqn. produces IQNs no initiator will accept (issue #117). Then, on the manual tabs, create a portal listening on 0.0.0.0:3260 and a target named proxmox that uses it, with no extents and authentication set to None. CHAP is optional and the README covers it.
The full target IQN is the Base Name and target name joined by a colon, iqn.2005-10.org.freenas.ctl:proxmox. Write it down exactly, because Proxmox must send the same string in tn_target_iqn or discovery returns nothing. Leave the target without extents on purpose. The plugin adds one extent per disk as you create them, so anything you map by hand only gets in its way.
Create an API key for the Proxmox node
Click the user menu at the top right and pick My API Keys, then Add. Fill in the form as numbered:
- Name: something that tells you which node holds it, such as
pve01-proxmox-plugin. - Username: the account the key acts as. We used
truenas_admin. - Click Save and copy the key from the dialog. TrueNAS shows it once.

- 1Name
- 2Username
- 3Save
An admin key works, but it can do anything on the NAS. For production, the plugin’s API permissions page lists the roles a dedicated user needs for datasets, sharing and snapshots, and you should give each node its own key so revoking one doesn’t take the cluster down.
Install the plugin on the Proxmox node
Run everything in this section as root on each Proxmox node, not just the first one. A shared storage entry appears on every node at once, so a node without the package can’t read it and reports an unknown storage type. The plugin comes from TrueNAS’s own signed APT repository, so start by fetching its key:
mkdir -p /etc/apt/keyrings
curl -fsSL https://truenas.github.io/truenas-proxmox-plugin/apt/pubkey.gpg -o /etc/apt/keyrings/truenas-proxmox-plugin.gpg
Next, write the deb822 source. Proxmox VE 9 uses the trixie suite; on Proxmox VE 8 change it to bookworm.
printf '%s\n' 'Types: deb' 'URIs: https://truenas.github.io/truenas-proxmox-plugin/apt/' 'Suites: trixie' 'Components: main' 'Architectures: amd64' 'Signed-By: /etc/apt/keyrings/truenas-proxmox-plugin.gpg' | tee /etc/apt/sources.list.d/truenas-proxmox-plugin.sources
Refresh the package lists and check which version APT is about to install. Doing this before the install, not after, tells you whether the repository and key both work, since a bad key fails here with a clear signature error instead of half way through the install:
apt update
apt policy truenas-proxmox-plugin
Only the stable build shows up as a candidate. The betas live on GitHub releases, not in this repository:
truenas-proxmox-plugin:
Installed: (none)
Candidate: 2.1.24
Version table:
2.1.24 500
500 https://truenas.github.io/truenas-proxmox-plugin/apt trixie/main amd64 Packages
Install it with the version pinned, then put the package on hold. The pin only chooses the version at install time; without the hold, the next apt full-upgrade or a click on the GUI’s Upgrade button pulls the new build onto one node, and since every node writes to the same zvols, mixed plugin builds are not a state you want to debug:
apt install -y truenas-proxmox-plugin=2.1.24 #https://github.com/truenas/truenas-proxmox-plugin/releases
apt-mark hold truenas-proxmox-plugin
When you upgrade on purpose, run apt-mark unhold truenas-proxmox-plugin, upgrade over SSH on one node at a time, and hold it again afterwards.
The tail of the install is the part worth reading. The post-install script syntax-checks both Perl pieces and pve-manager picks up the new storage type:
Setting up truenas-proxmox-plugin (2.1.24) ...
/usr/share/perl5/PVE/Storage/Custom/TrueNASPlugin.pm syntax OK
/usr/sbin/truenas-plugin-broker syntax OK
Processing triggers for man-db (2.13.1-1) ...
Processing triggers for pve-manager (9.3.1) ...
The package enables the broker service on install. Confirm the broker is running before you add any storage, because every API call goes through it:
systemctl status truenas-plugin-broker --no-pager | head -6
You want active (running) and the unit enabled at boot:
● truenas-plugin-broker.service - TrueNAS Proxmox Plugin Session Broker
Loaded: loaded (/usr/lib/systemd/system/truenas-plugin-broker.service; enabled; preset: enabled)
Active: active (running) since Wed 2026-12-02 06:25:31 UTC; 15s ago
Invocation: 975f7c8ff3894501afe1dc34d6b0a18a
Docs: https://github.com/truenas/truenas-proxmox-plugin
Main PID: 4017 (truenas-plugin-)
From this point every pvesm and qm command printed a warning that the plugin “is implementing an older storage API”. It’s cosmetic on this build and we explain it in the troubleshooting section, so do not let it stop you. If the broker shows failed instead, read journalctl -u truenas-plugin-broker before going further, because every later step will fail with a less helpful message.
Point the plugin at the iSCSI target
The TrueNAS address and key appear in both storage definitions, so put them in variables first. Reading the key with read -rs keeps it out of your shell history, although Proxmox will still store it in /etc/pve/storage.cfg, which is readable only by root and the www-data group:
export TN_HOST=10.0.1.50
read -rsp 'TrueNAS API key: ' TN_KEY; echo; export TN_KEY
Now add the storage. The tn_api_insecure 1 flag tells the broker to accept TrueNAS’s self-signed certificate; leave it out only if the NAS serves a certificate your node trusts. We’ll show what happens without it in a moment.
pvesm add truenasplugin truenas-iscsi \
--tn_api_host "${TN_HOST}" \
--tn_api_key "${TN_KEY}" \
--tn_api_insecure 1 \
--tn_target_iqn iqn.2005-10.org.freenas.ctl:proxmox \
--tn_dataset tank/proxmox \
--tn_discovery_portal "${TN_HOST}:3260" \
--content images,rootdir \
--shared 1
systemctl restart pvedaemon pveproxy
The restart matters because the README notes that the daemons cache storage definitions, so the GUI and API can keep a stale view until restarted. The stanza Proxmox wrote to /etc/pve/storage.cfg reads like this (key redacted):
truenasplugin: truenas-iscsi
tn_api_host 10.0.1.50
tn_api_key <redacted>
tn_dataset tank/proxmox
content images,rootdir
shared 1
tn_api_insecure 1
tn_discovery_portal 10.0.1.50:3260
tn_target_iqn iqn.2005-10.org.freenas.ctl:proxmox
Because /etc/pve is the cluster filesystem, other nodes see this stanza at once, which is why the package has to be on all of them first. Check the storage from the node:
pvesm status
The size column is the free space of tank/proxmox as TrueNAS reports it over the API, so a non-zero total already proves the control link works:
Name Type Status Total (KiB) Used (KiB) Available (KiB) %
local dir active 206168404 13175500 184489904 6.39%
truenas-iscsi truenasplugin active 40138368 152 40138216 0.00%
The data link isn’t up yet, and that’s expected. iscsiadm -m session answered iscsiadm: No active sessions. at this stage, because the plugin logs in only when the first disk needs it. So an active storage with no session is normal here, while an active storage with no session after you’ve created a disk is a data link problem worth chasing.
Verify the round trip with a VM disk
A storage that shows active proves little. The real test is whether a disk operation in Proxmox produces the matching object on TrueNAS, so for each step below we checked both sides. We downloaded the Debian 13 generic cloud image to the node first, then created VM 100 (web01) and imported the image straight onto the new storage:
wget -O /var/lib/vz/debian-13.qcow2 https://cloud.debian.org/images/cloud/trixie/latest/debian-13-generic-amd64.qcow2
qm create 100 --name web01 --memory 2048 --cores 2 --cpu host --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-single --serial0 socket --vga serial0 --ostype l26 --agent 1
qm set 100 --scsi0 truenas-iscsi:0,import-from=/var/lib/vz/debian-13.qcow2,discard=on,ssd=1
The 3 GiB import finished in about 8 seconds. Notice the volume name: the plugin encodes the LUN number in it, so lun1 tells you where to look on the NAS. That naming is worth learning early, because when a disk goes missing it’s the fastest way to match a Proxmox volume to a TrueNAS extent without opening either GUI.
A cloud image has no password, so give it a cloud-init drive with your SSH key and an address before the first boot. In our lab the node itself was the guest’s gateway at 10.0.1.10; on a normal network use your real router there:
qm set 100 --ide2 local:cloudinit --boot order=scsi0 --ciuser eugene --sshkeys /root/.ssh/id_rsa.pub --ipconfig0 ip=10.0.1.60/24,gw=10.0.1.10 --nameserver 10.0.1.10
qm start 100
Once ssh [email protected] works, the VM is running from a zvol on TrueNAS and the rest of this section has something real to snapshot.
transferred 3.0 GiB of 3.0 GiB (100.00%)
scsi0: successfully created disk 'truenas-iscsi:vol-vm-100-disk-0-lun1,discard=on,size=3G,ssd=1'
On TrueNAS, the proxmox target now lists one extent per disk. The figure below was taken later in the run, after the snapshot and clone steps, so it shows LUNs 0 through 5. The Target name is proxmox, the same name you put after the colon in tn_target_iqn. Weight LUN 0 is a 1 GiB zvol called pve-weight-proxmox-… that the plugin created on its own; its source says it keeps the target visible to discovery even when no VM disk exists, so leave it alone. The pve01 initiator session is the node’s single iSCSI connection from 10.0.1.10, and every LUN shares it.

- 1Target name
- 2Weight LUN 0
- 3pve01 initiator session
That one-session design is the biggest difference from the older community plugin, which gave QEMU its own iSCSI connection per disk. Here the node sees ordinary /dev/sdX devices, which is why NVMe/TCP can slot in later without changing anything above the block layer.
Take a live snapshot with RAM
Snapshots are where this plugin earns its keep, because Proxmox hands them to ZFS instead of copying data. Before the snapshot we wrote a marker file inside the guest, so a rollback could prove both disk and memory came back. Then we took a snapshot that includes RAM:
qm snapshot 100 live1 --vmstate 1 --description "before apt upgrade"
It took 6.4 seconds on a 2 GiB VM. Proxmox wrote 307 MiB of memory state to a new volume on the same TrueNAS storage, then asked ZFS for the disk snapshot, so the guest was paused only for the moment ZFS needed. Most of that time is the RAM dump, which grows with the VM’s memory, not its disk:

Where the RAM lands deserves a note. Our state volume went to truenas-iscsi:vol-vm-100-state-live1-lun2, a separate zvol on the NAS next to the disk. On shared storage that’s what you want, since a RAM snapshot kept on a node’s local disk can’t follow the VM to another node.
In the GUI the snapshot shows up under the VM’s Snapshots panel. Use Take Snapshot there if you prefer clicking; the row for live1 has the RAM column set to Yes, which is how you tell a crash-consistent snapshot from one you can resume into:

- 1Take Snapshot
- 2live1
- 3RAM
For the general snapshot workflow (naming, deleting, what RAM snapshots cost), see our guide on Proxmox VM snapshots. Everything there applies here, with ZFS doing the work underneath. The one difference is cost: a ZFS snapshot is copy on write, so it takes no space until the guest changes blocks, which makes frequent snapshots before upgrades cheap on this storage.
Roll back and confirm the guest’s memory came back
We overwrote the marker with after-snapshot, rolled back and read it again over SSH. A snapshot that includes RAM starts the VM again on its own after the rollback, from the saved state, so the guest does not boot at all; it resumes where it was:
qm rollback 100 live1
qm status 100
The marker read before-snapshot again, and uptime inside the guest showed the clock at the snapshot time with the original session still logged in, which only happens when RAM was restored:
before-snapshot
06:41:58 up 0 min, 1 user, load average: 1.24, 0.33, 0.11
One limit applies, as on local ZFS: Proxmox only rolls back to the newest snapshot. The plugin refuses anything older with can't rollback, 'live1' is not most recent snapshot, so to go further back you delete the newer snapshots first, which is a decision worth making deliberately rather than in a hurry.
Grow the disk, and watch a shrink fail
Resizing goes through the API too, which means TrueNAS changes the zvol’s volsize and the node rescans the LUN so the guest sees the new size without a reboot. We grew the root disk by 2 GiB while the VM ran:
qm resize 100 scsi0 +2G
The VM config, the guest’s lsblk and the zvol’s volsize on TrueNAS all moved to 5G together. Then we tried to shrink it back to 4G on purpose, and Proxmox refused before the request ever reached the plugin:
shrinking disks is not supported
That’s a feature, not a bug: shrinking a zvol under a live filesystem eats data. The README also caps a single grow at 80% of the dataset’s free space, so on a nearly full pool expand in smaller steps.
Clone it, full and linked
A full clone copies every block through Proxmox, while a linked clone asks ZFS for a writable clone of a template snapshot. The timing gap shows which path each one takes:
qm clone 100 101 --full 1 --name web02
qm template 101
qm clone 101 102 --name web03
The full clone took 18.3 seconds because QEMU’s drive mirror pushed 5 GiB across the iSCSI link. The linked clone took 1.9 seconds, and its disk name records the parent:
scsi0: truenas-iscsi:vol-base-101-disk-0-lun3/vol-vm-102-disk-0-lun4,discard=on,size=5G,ssd=1
Linked clones only work from templates, as on any ZFS storage in Proxmox. Converting VM 101 renamed its zvol to base-101-disk-0 and created the @__base__ snapshot the clone hangs off. That dependency has a cost: TrueNAS won’t let you delete the template’s zvol while any linked clone still uses it, so plan template retirement around the clones built from it.
Read the result on TrueNAS
Now look at the other end. From a TrueNAS shell (or SSH as truenas_admin), list the zvols and snapshots under the pool. We ran this at the end of the lab, so it also includes the NVMe and container disks from the next sections:
zfs list -t volume -o name,volsize,used,origin -r tank
zfs list -t snapshot -o name -r tank
Every Proxmox operation above has a matching ZFS object here:
NAME VOLSIZE USED ORIGIN
tank/proxmox-nvme/vm-100-disk-0 4G 773M -
tank/proxmox/base-101-disk-0 5G 547M -
tank/proxmox/pve-weight-proxmox-c23053f1 1G 56K -
tank/proxmox/vm-100-disk-0 5G 1.29G -
tank/proxmox/vm-100-disk-1 4G 773M -
tank/proxmox/vm-100-state-live1 4.49G 168M -
tank/proxmox/vm-102-disk-0 5G 8K tank/proxmox/base-101-disk-0@__base__
tank/proxmox/vm-200-disk-0 4G 343M -
NAME
tank/proxmox/base-101-disk-0@__base__
tank/proxmox/vm-100-disk-0@live1
Read three lines closely. vm-100-disk-0 is 5G, so the resize reached ZFS. vm-100-state-live1 holds the saved RAM next to the @live1 snapshot. And vm-102-disk-0 uses 8K with an origin on the template, which is what a linked clone should cost on day one.
Add NVMe/TCP as a second storage
This transport needs Proxmox VE 9.x, TrueNAS 25.10.0 or later and nvme-cli 2.0+ on every node, so a cluster still on Proxmox VE 8 stays on iSCSI. NVMe/TCP uses the same plugin and API key, but it’s a separate storage entry with its own dataset. Unlike iSCSI, you don’t build a subsystem on TrueNAS first, because the plugin creates it. It does need the dataset, though. When we added the storage before creating tank/proxmox-nvme, it stayed inactive and pvestatd logged:
pvestatd[4040]: [TrueNAS] status: storage 'truenas-nvme' configuration error (dataset not found): JSON-RPC error: {... "reason":"[ENOENT] None: PoolDataset tank/proxmox-nvme does not exist" ...}
So create a proxmox-nvme dataset under tank in the TrueNAS UI the same way as before. On the Proxmox side, check that the NVMe host identity exists. Our Proxmox VE 9 node already had nvme-cli and its /etc/nvme/hostnqn file; on a node without them, apt install nvme-cli creates both:
cat /etc/nvme/hostnqn
modprobe nvme_tcp
Ours printed a UUID-based NQN. That string is how TrueNAS identifies the node, so cloned nodes that share one NQN will look like the same host to the target. You’ll see it again in nvme list-subsys:
nqn.2014-08.org.nvmexpress:uuid:316796ca-342f-ef18-ea78-c59e143f86b0
Add the storage with tn_transport_mode nvme-tcp, a subsystem NQN of your choosing and the discovery portal on 4420. The variables from the iSCSI step are still set if you’re in the same shell:
pvesm add truenasplugin truenas-nvme \
--tn_api_host "${TN_HOST}" \
--tn_api_key "${TN_KEY}" \
--tn_api_insecure 1 \
--tn_transport_mode nvme-tcp \
--tn_subsystem_nqn nqn.2005-10.org.freenas.ctl:proxmox-nvme \
--tn_dataset tank/proxmox-nvme \
--tn_discovery_portal "${TN_HOST}:4420" \
--content images \
--shared 1
systemctl restart pvedaemon pveproxy
Then give VM 100 a second disk on it. The 4 is the size in GiB:
qm set 100 --scsi1 truenas-nvme:4,discard=on,ssd=1
NVMe volume names carry the namespace UUID instead of a LUN number:
scsi1: successfully created disk 'truenas-nvme:vol-vm-100-disk-0-nscc4433cd-6f2f-4b32-ad5d-817afe1afb69,discard=on,size=4G,ssd=1'
Now Proxmox can reach TrueNAS over NVMe/TCP. nvme list-subsys shows one live TCP path from 10.0.1.10 to 10.0.1.50 port 4420:
nvme-subsys0 - NQN=nqn.2005-10.org.freenas.ctl:proxmox-nvme
hostnqn=nqn.2014-08.org.nvmexpress:uuid:316796ca-342f-ef18-ea78-c59e143f86b0
\
+- nvme0 tcp traddr=10.0.1.50,trsvcid=4420,src_addr=10.0.1.10 live
On TrueNAS, the plugin built the whole NVMe-oF side by itself. Open Shares and the NVMe-oF card to check it. The Subsystem NQN matches tn_subsystem_nqn from the storage definition, the TCP port 4420 on 10.0.1.50 was created and bound to the subsystem, and the Namespace zvol points at zvol/tank/proxmox-nvme/vm-100-disk-0. The fourth mark, All hosts are allowed, is the default the plugin leaves behind:

- 1Subsystem NQN
- 2TCP port 4420
- 3Namespace zvol
- 4All hosts are allowed
That last item is worth acting on. Any host that can reach port 4420 can connect to the subsystem, so on a shared network either restrict the subsystem to your nodes’ host NQNs or keep 4420 on a storage VLAN that only Proxmox touches.
Check the transfer size before you trust NVMe/TCP
Older TrueNAS builds didn’t advertise a maximum transfer size, so the Linux initiator could send I/Os larger than the target accepted, and large writes failed with I/O error -5 (issues #45 and #96 on the plugin’s tracker). TrueNAS 25.10.8 fixes this by advertising the limit. Check what your target reports:
nvme id-ctrl /dev/nvme0 | grep -E "^(mn|fr|mdts|subnqn) "
cat /sys/block/nvme0n1/queue/max_sectors_kb /sys/block/nvme0n1/queue/max_hw_sectors_kb
An mdts of 8 means 2^8 pages of 4 KiB, which is 1 MiB, and the kernel capped both queue limits at 1024 KiB to match:

If mdts reads 0 on your setup, you’re on an older TrueNAS. Upgrading it is the real fix. The README’s stopgap is a udev rule on every node that pins the limit; the copy below widens its match from truenas to freenas, because plugin-created subsystems with the default prefix (like ours, nqn.2005-10.org.freenas.ctl:proxmox-nvme) would never match the original:
vim /etc/udev/rules.d/60-nvme-tcp-max-sectors.rules
The rule matches only namespaces from the TrueNAS subsystem, so local NVMe drives keep their own limits:
ACTION=="add|change", SUBSYSTEM=="block", KERNEL=="nvme*n*", ENV{DEVTYPE}=="disk", ATTRS{subsysnqn}=="nqn.*freenas*", ATTR{queue/max_sectors_kb}="1024"
Load it without a reboot. The trigger sends a change event to existing block devices, so namespaces already connected pick up the new limit too:
udevadm control --reload
udevadm trigger --subsystem-match=block --action=change
Check the result with cat /sys/block/nvme0n1/queue/max_sectors_kb, which should read 1024. Treat the rule as a stopgap, though: owners in issue #96 report that on recent Proxmox kernels the head device can be capped while the per-path devices (nvme0c0n1) are not, so large I/O still gets merged past the limit. On 25.10.8 we didn’t need the rule at all, which is the best argument for upgrading TrueNAS instead.
Push data through both links
To be sure large I/O survives, we attached one more 4 GiB disk on truenas-iscsi and pushed the same 768 MiB of random data through both from inside the guest. Random data matters here: ZFS compresses zeros to almost nothing, and a 2 GiB zero write left the NVMe zvol at 56K used, which tells you nothing about the wire.
sudo dd if=/dev/urandom of=/var/tmp/rand.bin bs=4M count=192 status=none
sudo dd if=/var/tmp/rand.bin of=/dev/sdb bs=4M oflag=direct
sudo dd if=/dev/sdb of=/dev/null bs=4M count=192 iflag=direct
We repeated the write and read for /dev/sdc, the iSCSI disk. Every dd finished without an I/O error at 4 MiB block size, and the earlier 2 GiB zero write left no errors in the node’s dmesg. These are the numbers from our nested lab:
| Disk in the guest | Transport | Write 768 MiB | Read back |
|---|---|---|---|
/dev/sdb | NVMe/TCP | 87.8 MB/s | 811 MB/s |
/dev/sdc | iSCSI | 105 MB/s | 590 MB/s |
Don’t read this as a benchmark. Both TrueNAS and Proxmox ran nested on one cloud VM, writes were bound by the backing disk, and the reads came from TrueNAS’s ARC right after the write. On real hardware with NVMe pools, NVMe/TCP’s lower protocol overhead tends to show on small random I/O, which dd doesn’t measure.
Pool media still sets the ceiling over either transport. Our NVMe vs SATA SSD comparison for Proxmox datastores explains why power-loss protection matters more than headline speed for VM zvols.
Put a container rootfs on TrueNAS
The iSCSI storage was added with rootdir content, so LXC containers can use it too. Proxmox formats the LUN with ext4 and mounts it on the node, which means the container gets a real block device instead of a directory, and quotas come from the zvol size rather than a filesystem limit. Fetch the Debian 13 container template first with pveam update and pveam download local debian-13-standard_13.6-1_amd64.tar.zst, then create the container:
pct create 200 local:vztmpl/debian-13-standard_13.6-1_amd64.tar.zst --hostname ct01 --rootfs truenas-iscsi:4 --memory 512 --features nesting=1 --net0 name=eth0,bridge=vmbr0,ip=10.0.1.61/24,gw=10.0.1.10 --unprivileged 1
The container got LUN 6, and df inside it shows the iSCSI device as its root filesystem:
Filesystem Size Used Avail Use% Mounted on
/dev/sdh 3.9G 572M 3.1G 16% /
rootfs: truenas-iscsi:vol-vm-200-disk-0-lun6,size=4G
Watch snapshot-mode backups of containers on this storage. Issue #163 on the plugin’s tracker reports that vzdump’s cleanup can run out of retries on an EBUSY error, leaving the container with lock: snapshot-delete, a leftover vzdump clone on TrueNAS and a vzdump snapshot. Unlocking alone isn’t enough, because the next backup then fails on the leftovers. The reporter’s recovery is to destroy the leftover clone on TrueNAS, then run pct unlock 200 and pct delsnapshot 200 vzdump. We added the NVMe storage with images only, which is our choice rather than a plugin limit; the README’s NVMe example also allows rootdir.
Move off the freenas-proxmox plugin
If you run TheGrandWazoo’s community freenas-proxmox plugin, you don’t have to rush. It’s still maintained, and the freenas-proxmox README says its 4.x line requires Proxmox VE 9. But the two plugins don’t share a layout. The community plugin, packaged as truenas-proxmox on its 4.x line, builds on Proxmox’s ZFS over iSCSI model and gives QEMU a direct iSCSI connection per disk, while the official one is a separate storage type with one session per node. Neither reads the other’s volumes.
There’s no official migration tool or document, so the safe path is a storage move, one disk at a time. It is slower than any in-place conversion would be, but each step can be checked and stopped, and a VM keeps running through all of it:
- Add the official plugin’s storage next to the old one, under its own dataset (for example
tank/proxmoxwhile the old one uses something else). - Move each disk live with
qm disk move <vmid> <disk> truenas-iscsi --delete 1. Like the full clone above, this copies through QEMU’s drive mirror, so budget for network time. - Snapshots don’t move with a disk, so delete or consolidate them before moving, and take a fresh one on the new storage afterwards.
- Once nothing references the old storage, remove its entry and the community package with
apt remove truenas-proxmox, following its README’s uninstall section rather than deleting files by hand.
For context on where block storage over iSCSI sits next to Ceph, NFS and local ZFS, our Proxmox storage backends comparison lays out the trade-offs, including what shared storage buys you for live migration.
Know what isn’t production-ready yet
Everything above worked, but the plugin is young, and its README and issue tracker are candid about the gaps. These are the limits we’d plan around before moving a production cluster:
- Content types are
imagesandrootdironly. ISOs, backups and templates need another storage. - Resize is grow-only and capped at 80% of free space per operation.
- Rollback only goes to the newest snapshot; older ones need the newer snapshots deleted first.
- TrueNAS limits API clients to 20 calls per 60 seconds, with a cooldown when exceeded. The plugin retries with backoff, but you’ll feel it when cloning many VMs at once.
- No SCSI persistent reservations for HA fencing, so a fenced Proxmox HA node that comes back can still write to a LUN. Rely on Proxmox’s own fencing and watch for split brain.
- Renaming a volume isn’t implemented, and editing
storage.cfgby hand needs apvedaemonandpveproxyrestart.
The security side deserves the same attention as the storage side, because the API key can create and destroy zvols. Keep TrueNAS patched; our note on TrueNAS SCALE CVE-2026-123033 shows how to check which build you’re on.
What 2.1.25 changes
The next release is in beta on the plugin’s GitHub repository, with 2.1.25-beta12 published on November 24, 2026 as a prerelease. The APT repository still serves 2.1.24. The headline change is the plugin’s own Add Storage dialog in the Proxmox GUI, added in beta2, with fields laid out for TrueNAS instead of the generic form newer pve-manager builds a third-party storage. It needs pve-manager 9.2.29 or newer, and beta9 gave it a Skip TLS verification checkbox, the GUI twin of tn_api_insecure. Beta2 also raises the plugin’s storage API version, which is what silences the “older storage API” warning.
Two fixes matter as much as the dialog. Beta1 fixed the web UI upgrade trap in issue #144, covered in the next section, beta11 made the backup snapshot teardown in issue #163 configurable (tn_snapshot_teardown_timeout_s) and self-healing, and an orphan-clone sweep (tn_sweep_orphan_min_age_s) for clones left behind by interrupted vzdump runs is merged on main for beta13. As of 2 December 2026 the newest prerelease is still beta12, from 24 November, so the sweep is not in any package yet. Until those reach the stable channel, plan your upgrades and backups around both problems.
We’d stay on the stable APT build for production and test the betas on a spare node. A beta comes as a .deb from the releases page, and mixing builds across cluster nodes is the kind of drift the pin and hold above exist to prevent.
Fix the errors that break the link
Most failures we hit or found on the tracker belong to one of the two links in the diagram. Control link errors leave the storage inactive with zero size, while data link errors show up when a disk is created or a VM starts. So start every diagnosis with pvesm status, because it tells you which half to look at before you read a single log.
“SSL connect attempt failed error:0A000086:SSL routines::certificate verify failed”
This is the first thing you’ll hit if you add the storage without tn_api_insecure against a stock TrueNAS. The storage shows inactive, and pvesm list truenas-iscsi prints the broker’s error:
Operation failed after 3 retries: JSON-RPC error: broker: TLS connect to 10.0.1.50:443 failed: SSL connect attempt failed error:0A000086:SSL routines::certificate verify failed at /usr/sbin/truenas-plugin-broker line 169.
pvestatd logs the same thing every few seconds as [TrueNAS] Pre-flight: failed to query targets. TrueNAS ships a self-signed certificate, and the broker verifies TLS by default. Either install a certificate the node trusts on TrueNAS, or set tn_api_insecure 1 on a storage network you control.
“Unknown option: tn_api_insecure” from pvesm set
Our next move after the TLS error was to flip the flag on the existing storage, and Proxmox refused:
Unknown option: tn_api_insecure
400 unable to parse option
pvesm set <storage> [OPTIONS]
The plugin declares its connection settings as fixed options, and the TLS flag is one of them, so pvesm set can’t change it after the fact. Remove the storage with pvesm remove truenas-iscsi and add it again with the right flags. Removing a storage entry doesn’t touch the zvols on TrueNAS, but do it before any VM uses it, or detach those disks first.
“is implementing an older storage API, an upgrade is recommended”
Every storage command printed this line with the stable plugin on pve-manager 9.3.1:
Plugin "PVE::Storage::Custom::TrueNASPlugin" is implementing an older storage API, an upgrade is recommended
It means Proxmox’s storage API version moved ahead of the one the plugin declares. Issue #143 tracks it. The stable plugin declares the API version Proxmox VE 9.2 used, newer pve-manager builds advertise the next one, so the warning is back on 9.3 and goes away with the 2.1.25 betas from beta2 on. Nothing failed because of it; it only clutters output and scripts that parse stderr.
“configuration error (dataset not found)”
An inactive storage with this line in the journal means tn_dataset doesn’t exist on the pool. The plugin creates zvols and, for NVMe, subsystems and ports, but never the parent dataset. Create it in the TrueNAS UI and the storage turns active on pvestatd’s next pass, no restart needed.
“iscsiadm: Could not log into all portals” on the first disk
Our very first disk import printed this before the transfer started:
iscsiadm login failed (10.0.1.50:3260): iscsiadm login failed (10.0.1.50:3260): iscsiadm: Could not log into all portals
at /usr/share/perl5/PVE/Storage.pm line 1273.
The import still completed, and iscsiadm -m session showed one session right after. It appeared once, on the very first login, and never again in the run. If it repeats and disks fail to appear, check that the target has a portal and that tn_target_iqn matches the TrueNAS Base Name plus target name exactly.
Upgrading from the web UI leaves the package half-configured
Issue #144 reports that upgrading the plugin from the Proxmox web UI’s Updates panel on 2.1.24 and earlier can stop partway, because the upgrade restarts the services the web shell runs under. The package is left unpacked but not configured. Recover from an SSH session:
dpkg --configure -a
apt -f install
apt update && apt dist-upgrade
As of 2 December 2026, issue #144 is still open and the fix ships only in the 2.1.25 betas. Until the fix reaches the stable channel, upgrade this package over SSH, never from the web shell. The 2.1.25 betas carry the fix, but a half-configured plugin leaves every TrueNAS storage on that node unreadable, so this is not a risk worth taking on a production node in the meantime.
Guests lose their disks when the broker stops (issue #166)
You may find issue #166 when searching for I/O errors at node shutdown. Its first claim, that stopping the broker logged the node out of every iSCSI session so guests hit I/O errors, was later retracted by the reporter: the logout came from open-iscsi’s own shutdown ordering, not from the plugin. What the issue does track is orphaned clones left on TrueNAS when a vzdump run is interrupted, which the orphan sweep addresses. As of 2 December 2026 the issue is open, the broker claim was retracted on 25 November, and the maintainer says the sweep is on main and ships in 2.1.25~beta13, which has not been released yet. If you see stray vm-* zvols that no VM config references, that’s the cause, and you should clean them up only after checking each one by name.
Run the end-to-end check after every upgrade
Proxmox upgrades, TrueNAS upgrades and plugin upgrades can each break one link without touching the other. These three commands cover the whole path on a node, so they’re what we’d run after any of them, on every node in turn:
pvesm status
iscsiadm -m session
nvme list-subsys
A healthy node shows both TrueNAS storages active with real sizes (the API link), one iSCSI session to the proxmox target, and the NVMe controller in the live state:

If pvesm status is fine but a session is missing, the problem is on the data link: portal, target or port 4420. If the storage is inactive, start with the broker and the API key. Then, for full certainty, take a throwaway snapshot of a test VM and check that it shows up in zfs list -t snapshot on TrueNAS. That one command proves the piece that ties this together still works end to end.