Use NFS for shared files, ISO images and backup archives on a homelab NAS. On a single Proxmox node, start with local storage for VM disks. Choose iSCSI when a host needs a NAS-backed block device. Give an ordinary filesystem on that device one host at a time, or use a cluster-aware layer to coordinate shared access.
NFS vs iSCSI side by side
| NFS | iSCSI | |
|---|---|---|
| What the NAS exposes | A directory that clients mount as a file share | A block device, called a LUN, that the client sees as a disk |
| Who manages the filesystem | The NAS, which serves files and directories | The host or guest using the disk, or a cluster filesystem if configured |
| How hosts share access | Multiple hosts mount the export and work with files through the NAS | Hosts sharing the same LUN need a layer that coordinates access to its blocks |
A NAS is the storage server. It can offer NFS for file access and iSCSI for block access. If several machines need the same media or backup files, give them an NFS share. For Windows file sharing, see iSCSI vs NFS vs SMB. USENIX on file and block access
Can two computers use the same iSCSI LUN?
| Layout | Who accesses the LUN | What coordinates access |
|---|---|---|
| One host mounts an ordinary filesystem | NAS LUN → Host A → local filesystem | Host A’s filesystem driver manages blocks and metadata. |
| A cluster shares a LUN | NAS LUN → Hosts A and B → cluster filesystem | The cluster filesystem coordinates access across both hosts. |
Mount an ordinary filesystem on a writable LUN from one host at a time. For concurrent access to the same filesystem, use a cluster filesystem designed to coordinate access to the shared blocks. USENIX on sharing iSCSI storage
With shared LVM, Proxmox coordinates storage operations within the cluster and divides the LUN into logical volumes for individual guests. Use NFS when those guests need to share ordinary files. Proxmox LVM backend
For target, initiator and LUN terminology, see iSCSI fundamentals.
Should I use NFS or iSCSI for Proxmox?
Start with a NAS export for ISOs and backups, and keep VM disks on the Proxmox host. This example assumes the NAS already exports a writable directory to the node and the node already has local-lvm, the default VM disk store on an LVM-based installation. Proxmox storage manager documentation
On the Proxmox node, replace 10.0.0.10 and /exports/proxmox with your NAS address and export path. Add the export and confirm nas-archives is active. Proxmox NFS backend
pvesm add nfs nas-archives --server 10.0.0.10 --export /exports/proxmox --content iso,backup
pvesm status
For writable NFS storage, keep the default hard behavior. Requests retry if the NAS becomes unavailable. A soft timeout can cause silent data corruption. Linux nfs(5) manual
| Content | Storage to choose | How to use it |
|---|---|---|
| Installer ISOs | nas-archives (iso) | Store installer images here and select one when attaching installation media to a VM. |
| Backup archives | nas-archives (backup) | Select it as the destination for the backup job under Datacenter → Backup. Proxmox backup guide |
| VM disks | local-lvm (images) | Select it when creating the VM’s virtual disk. The ISO and the new virtual disk can live on different stores. |
To migrate a running VM without copying its disks, give the nodes shared access to its disk storage. Register a separate NFS export with images as its content type and select it when creating the VM disk. For shared block storage, select a configured shared LVM store backed by an iSCSI LUN. Keep ISOs and backups on nas-archives. Proxmox Open-iSCSI backend
Is NFS or iSCSI faster?
The USENIX FAST ’04 study found similar performance for several data-heavy workloads and a substantial iSCSI lead in metadata-heavy tests. The authors compared Linux clients and servers with no data shared across hosts. The results below compare NFS v3 and iSCSI on that Linux testbed, which used ext3 and Gigabit Ethernet. System setup
| Workload | What the study found |
|---|---|
| TPC-C transactions and read-heavy TPC-H queries | Throughput was comparable in both database workloads. The paper reported normalized results from unaudited runs. TPC-C and TPC-H results |
| PostMark small-file creation, deletion, reads and appends | With 100,000 operations on a pool of 25,000 files, NFS v3 took 516 seconds and iSCSI took 208 seconds. The authors credited client-side metadata caching and batched updates. PostMark results |
| Sequential reads and writes of a 128 MB test file | Sequential reads were comparable. iSCSI completed sequential writes faster in this setup, which the authors attributed to ext3’s asynchronous writes. Sequential and random I/O results |
Why does iSCSI look faster on TrueNAS?
Check the sync settings and when each setup acknowledges writes. TrueNAS documents how the zvol’s Sync setting can make asynchronous writes synchronous. Compare results with equivalent write durability before attributing a difference to the protocol. TrueNAS SLOG documentation
FAQ
Can Docker volumes be on NFS?
Yes. Use an NFS-backed Docker volume for shared media or bulk files. Keep SQLite application data on the host’s local filesystem, since broken network filesystem locking can corrupt a database under concurrent access. Docker volumes · SQLite’s locking guidance
Evidence and limits. Performance figures are from FAST ’04. Storage guidance draws on the FAST ’04 paper and Proxmox VE’s upstream storage documentation (master). The example commands were not run for this article.
Related across the network
- iSCSI vs NFS for VMware Datastores: Which to Pick — sanstorageguide.com
- What Is a Zvol? TrueNAS Zvol vs Dataset Explained — truenasguide.com