SAN Storage Guide
Isometric neon purple scene of a tower server, stacked rack drive units and a network switch on a glowing platform, evoking a homelab SAN storage build
storage-networking

How to Implement SAN Storage: Design, Paths and Tests

Set up an iSCSI SAN for Proxmox. Choose hardware, isolate storage traffic, map LUNs, configure multipath, and verify failover and recovery.

By SAN Storage Guide Editorial · · 7 min read

To implement SAN storage on a small budget, start with iSCSI on a dedicated Ethernet segment and map the LUN to approved hosts. Add a second storage path, configure multipath, and verify both failover and a VM restore before relying on the setup.

A mini-PC can act as the iSCSI initiator and a NAS as the target. If you are deciding between block storage and a file share, start with what a SAN storage area network is.

Who this is for, and who should skip it

Build one if your hypervisor hosts need shared block storage for live migration or HA restart, or if you want to learn how a SAN works. For a single Proxmox host, consider local NVMe. For shared folders or a media library, use SMB or NFS.

If multiple hosts need to write to the same LUN, use a platform that coordinates access. Proxmox does this with cluster-wide locking for shared LVM. Proxmox LVM documentation.

What hardware works for a small SAN?

Count network ports on both the initiator and the target. One dedicated storage port gives you a single path. If it loses its link, the host has no other route to the LUN. Plan a port for each storage path and a way to reach the management interface.

For the target:

How to implement SAN storage, step by step

Choose the transport

iSCSI carries SCSI commands over TCP/IP. On Linux, Open-iSCSI provides the initiator. Proxmox uses the Debian open-iscsi package for its iSCSI storage backend. RFC 7143, Proxmox iSCSI documentation.

For a mini-PC and a NAS, that usually settles on iSCSI. If both ends support Fibre Channel or NVMe/TCP, see NVMe-oF vs iSCSI vs Fibre Channel for the hardware and transport trade-offs.

Give storage its own VLAN or its own cable, with no gateway and no routing to the rest of the house. Bind the iSCSI portal to the storage IP. The default iSCSI port is TCP 3260. RFC 7143, TrueNAS portal setup.

Leave the MTU at 1500 unless every device along the path supports and uses the same larger MTU. TrueNAS guidance on jumbo frames.

For two storage paths, use separate ports at both ends. Use separate switches if the paths must survive a switch failure. Draw both routes from the host to the LUN and mark any component they share. See the SAN design reference guide for topology and availability options when planning redundant paths.

Restrict access: network first, then masking

On Fibre Channel, zoning controls which members can communicate. LUN masking controls which volumes the array presents to each host. For iSCSI, isolate the storage network and bind the portal to the storage IP first. Then restrict the LUN to approved initiators. See the SAN zoning and LUN masking guide for how the two layers work. Cisco Fibre Channel zoning documentation.

In the TrueNAS iSCSI wizard, select the storage portal and fill in Initiator with the hosts that need access. A blank field allows any initiator. TrueNAS iSCSI wizard instructions.

For the host login and CHAP setup, see What is an iSCSI LUN? Targets, initiators and MPIO.

Size capacity before you carve the LUN

For shared VM disks in Proxmox, export a LUN and put LVM on it. Proxmox can then allocate VM disks as logical volumes within that LUN. Proxmox LVM documentation.

For a first pass, use the SAN LUN Capacity Calculator to estimate RAID-adjusted capacity. Confirm the NAS’s available capacity and reserves before sizing the LUN. If the LUN is thin-provisioned, track free space in the backing pool because writes can fail when the pool runs low. TrueNAS sparse zvol guidance.

Add multipath and test failover

The default Open-iSCSI replacement_timeout is 120 seconds. The README gives 5 to 15 seconds as an example when device-mapper multipath handles I/O queueing. A positive multipath fast_io_fail_tmo sets the iSCSI session’s recovery timeout, recovery_tmo. open-iscsi README, multipath-tools iSCSI timeout code.

With both iSCSI paths connected and multipathd running, use udevadm info on each path. By default, multipath-tools uses the SCSI ID_SERIAL value as the WWID. Confirm the two paths have the same WWID. In find_multipaths strict mode, register that WWID on each host. SUSE multipath configuration guide.

udevadm info /dev/sdb
udevadm info /dev/sdc
multipath -a LUN_WWID
multipathd reconfigure
multipath -ll

Use the actual path devices in place of /dev/sdb and /dev/sdc, and replace LUN_WWID with their shared WWID. In multipath -ll, confirm both paths appear under the same map.

Create the volume group once, using the map name from multipath -ll in place of MAP_NAME. These commands write LVM metadata. Confirm that the map points to the intended empty LUN before running them. pvcreate manual, vgcreate manual.

pvcreate /dev/mapper/MAP_NAME
vgcreate vg_san /dev/mapper/MAP_NAME

After configuring Proxmox below, write to a test VM disk on the LUN. Disconnect one storage cable and use multipath -ll to check that its path fails while the VM can still write. Reconnect it and confirm it recovers before testing the other cable. If the paths use independent switches, repeat the test one switch at a time. A single-controller NAS remains a shared dependency.

Hand it to the hypervisor

In /etc/pve/storage.cfg, use your target’s portal and IQN. Before setting shared 1, verify that each participating node can see the same LUN and volume group. Proxmox Storage Manager documentation.

# /etc/pve/storage.cfg
iscsi: nas-san
        portal 10.10.10.1
        target iqn.2026-10.example.com:pve-lun0
        content none

lvm: san-lvm
        vgname vg_san
        content images,rootdir
        shared 1

content none keeps Proxmox from using the raw iSCSI LUN directly for VM disks. Add disks on the LVM storage instead. Proxmox VE 9 introduced snapshot-as-volume-chain for VM disks on LVM. The setting applies to newly created virtual disks. Proxmox iSCSI documentation, Proxmox LVM documentation.

Storage and backups

Alert on free space in the NAS pool, especially when using thin provisioning. TrueNAS sparse zvol guidance.

A snapshot records the LUN at a point in time. Rolling back a LUN also rolls back the VM disks stored on it. Keep an independent VM backup so you can recover if the NAS fails. TrueNAS snapshot documentation.

Back up at the VM level to Proxmox Backup Server on separate hardware. It supports deduplication, incremental backups, optional client-side AES-256-GCM encryption, and SHA-256 checksums. Proxmox Backup Server documentation.

Before moving production VMs to the LUN, restore one VM to an unused VM ID. Disconnect its network before booting, check the application data, and record how long the restore took. Remove the test VM afterward and repeat the drill when storage or backup configuration changes. Proxmox backup and restore documentation.

Networking: should a SAN ever be exposed?

No. Keep iSCSI on the storage segment and keep TCP port 3260 off the public internet. The iSCSI standard requires implementations to support IPsec and leaves its use optional. Use remote access for the NAS and hypervisor management interfaces. RFC 7143.

Operations: updates, logs and alerts

If a NAS update will interrupt iSCSI, shut down the VMs on the LUN first. After the NAS returns, confirm sessions with iscsiadm -m session and check that the expected paths are available before starting VMs. open-iscsi README.

Use iscsiadm -m session -P 3 for session and device details and multipath -ll for path state. Alert on low pool capacity, missing paths, and missed backups. If the SAN is up but slow, work through where SAN latency hides before buying a 10GbE card. open-iscsi README, SUSE multipath status documentation.

FAQ

Can I use a NAS as a SAN?

Yes. A NAS that exports iSCSI LUNs can act as a SAN target. The Synology DS923+ can do this through SAN Manager, and TrueNAS can export a zvol-backed block share. The host manages the filesystem it creates on the LUN.

Is iSCSI better than NFS for Proxmox?

Use NFS when you want the NAS to manage the shared filesystem. Use iSCSI with LVM when you want Proxmox to manage shared block storage. The iSCSI vs NFS comparison explains the difference.

Do I need 10GbE for iSCSI?

No. iSCSI runs over TCP/IP. Start with an isolated link and a consistent MTU. Consider 10GbE if monitoring shows the storage link is saturated.

Is Fibre Channel worth it for a homelab?

Consider native Fibre Channel if you already have compatible hardware or want to practice fabric zoning. For a mini-PC and NAS that already support iSCSI, using Ethernet keeps the setup simpler. The transport comparison covers where NVMe/TCP fits.

The examples are based on the Proxmox VE documentation for iSCSI and LVM, TrueNAS 25.04 documentation, and the Open-iSCSI and SUSE Linux Enterprise Server 15 SP7 multipath documentation. The steps were reviewed against documentation and were not run on hardware.

Sources

  1. Proxmox VE documentation, Open-iSCSI initiator
  2. Proxmox VE documentation, LVM backend
  3. Proxmox VE documentation, Storage Manager
  4. open-iscsi README
  5. SUSE Linux Enterprise Server 15 SP7, Managing multipath I/O for devices
  6. multipath-tools, iSCSI session timeout implementation
  7. Debian trixie manual, pvcreate(8)
  8. Debian trixie manual, vgcreate(8)
  9. TrueNAS 25.04, Adding iSCSI Block Shares
  10. TrueNAS 25.04, Block Shares (iSCSI)
  11. TrueNAS 25.04, Zvols
  12. Synology DS923+ specifications
  13. Synology E10G22-T1-Mini specifications
  14. Debian trixie manual, targetcli(8)
  15. TrueNAS 25.04, Creating Snapshots
  16. Proxmox Backup Server documentation, Introduction
  17. Proxmox VE documentation, Backup and Restore
  18. RFC 7143, Internet Small Computer System Interface (iSCSI) Protocol
  19. Cisco MDS 9000 NX-OS 9.x, Configuring and Managing Zones

Related