Proxmox ZFS over iSCSI Setup Guide

Michael Aug 03, 2026
screenshot of the web dashboard with data displayed on it and an arrow pointing up
screenshot of the web dashboard with data displayed on it and an arrow pointing up

Migrating from traditional file storage to advanced solutions like ZFS can provide significant benefits, including improved performance, data integrity, and scalability. When combining Proxmox and ZFS via iSCSI, you can harness these advantages while maintaining the ease of use and flexibility offered by Proxmox. Here's a comprehensive guide to help you understand and implement Proxmox ZFS over iSCSI.

screenshot of the web dashboard with data displayed on it and an arrow pointing up
screenshot of the web dashboard with data displayed on it and an arrow pointing up

Before we dive into the details, let's briefly understand the key components. Proxmox is an open-source platform for virtualization and containerization, while ZFS is a combined file system and volume manager known for its high-performance and data integrity features. iSCSI, on the other hand, is a protocol used for accessing storage devices over IP networks.

...
...

Understanding Proxmox ZFS Combo

ZFS on Proxmox enables the creation of highly available and fault-tolerant storage pools. It supports both hardware RAID and JBOD, ensuring flexibility in storage configuration. By using iSCSI as a target, you can share these storage pools between multiple Proxmox hosts.

Add Shared Storage to Proxmox
Add Shared Storage to Proxmox

Now, let's explore the process of setting up Proxmox ZFS over iSCSI, beginning with the initial configuration.

Setting Up the ZFS Storage Pool

three young men standing next to each other in a kitchen
three young men standing next to each other in a kitchen

The first step involves creating a ZFS storage pool on your Proxmox host. This pool will contain one or more virtual disks (VDevs) consisting of physical disks aggregated together. You can create various types of pools, such as striped (RAID0), mirrored (RAID1), or raidz (RAID5, RAID6, or RAIDZ).

For example, if you have three disks (sdc, sdd, sde), you can create a RAIDZ2 pool like this:

zpool create -f tank raidz2 sdc sdd sde

exporting the ZFS Storage Pool via iSCSI

a diagram showing the different types of computers and what they are used to work on
a diagram showing the different types of computers and what they are used to work on

After creating the pool, you need to export it as an iSCSI target. This process involves creating an iSCSI target and assigning LUNs (Logical Unit Numbers). Here's how you can achieve this using the `iser` utility:

iseradm -m create -t pve-target -p 127.0.0.1:3260 -n pve-iscsi-target -I 192.168.0.100 iseradm -m portal -t pve-target -p 127.0.0.1:3260 -a 192.168.0.100 -Ajax iseradm -m lun -t pve-target -p 192.168.0.100 -n pve-lun -o /dev/tank

These commands create an iSCSI target, add a portal to it, and create a LUN mapped to the `/dev/tank` device.

Configuring Proxmox iSCSI Initiator

a man sitting on a bench in front of a building at night with the lights on
a man sitting on a bench in front of a building at night with the lights on

With the iSCSI target set up on one Proxmox host (storage node), you can configure other Proxmox hosts (compute nodes) to act as iSCSI initiators. This allows them to access the shared storage pool.

First, install the `iscsid` and `open-iscsi` packages on the compute nodes. Then, configure the iSCSI initiator by adding the discovery portal and target details, and finally, activate the initiator service.

an info sheet with several different types of information on the page, including numbers and symbols
an info sheet with several different types of information on the page, including numbers and symbols
a man standing in the dark with his arms crossed, wearing a sweater and looking at the camera
a man standing in the dark with his arms crossed, wearing a sweater and looking at the camera
the world map is shown with green dots and white dots on it, indicating where people are
the world map is shown with green dots and white dots on it, indicating where people are
squeex
squeex
The Republican Howitzer - ISOTX Factorio Screenshot, Command And Conquer Generals Shockwave Mods, Command Conquer Generals Zero Hour Mods, Dieselpunk, I Am Game, Sci-fi Spaceship, Sci Fi
The Republican Howitzer - ISOTX Factorio Screenshot, Command And Conquer Generals Shockwave Mods, Command Conquer Generals Zero Hour Mods, Dieselpunk, I Am Game, Sci-fi Spaceship, Sci Fi
people are standing in front of a large screen on the side of a building at night
people are standing in front of a large screen on the side of a building at night
Hackers tried to use Sophos Firewall zero-day to deploy Ransomware
Hackers tried to use Sophos Firewall zero-day to deploy Ransomware
Linux SUID, SGID & Sticky Bit Explained | Linux Permissions Guide
Linux SUID, SGID & Sticky Bit Explained | Linux Permissions Guide
a group of people that are on stage with some guitar's in front of them
a group of people that are on stage with some guitar's in front of them
Плата BittWare XUPP3R с 16-нанометровой FPGA Xilinx Virtex UltraScale+ стала основой разработки Enyx, высвобождающей CPU от обработки пакетов 25G Ethernet
Плата BittWare XUPP3R с 16-нанометровой FPGA Xilinx Virtex UltraScale+ стала основой разработки Enyx, высвобождающей CPU от обработки пакетов 25G Ethernet

Discovering and Connecting to the iSCSI Target

Use the `iscsiadm` command to discover and connect to the iSCSI target. For example, to discover targets on the network, use:

iscsiadm -m discovery -t sendtargets -p 192.168.0.100

Once the target is discovered, connect to it using:

iscsiadm -m node -T pve-target -u

Activating the iSCSI Initiator Service

Finally, activate the iSCSI initiator service to ensure it starts automatically during boot:

systemctl enable iscsid.service systemctl start iscsid.service

Now, you should see the LUNs from the ZFS storage pool appearing on the compute nodes, ready to be used as storage for your virtual machines or containers.

Optimizing Proxmox ZFS Performance

By default, Proxmox ZFS uses the `zfs_m.suppress_arp` tunable to disable ARP protocol for better performance. However, you can further optimize performance by fine-tuning other tunables, such as `zfs_mRotation` and `zfs_metalink`, or adjusting the ZFS ARC (Adaptive Replacement Cache) settings.

Moreover, consider using ZFS features like dataset quotas, snapshots, and compression to enhance your storage management and data protection strategies.

In the world of modern virtualization and containerization, understanding and leveraging advanced storage technologies like Proxmox ZFS over iSCSI can provide a significant competitive edge. By harnessing the high-performance, data integrity, and scalability offered by this combo, you can build robust and efficient IT infrastructure tailored to your specific needs.