| Protocol | Sequential Read (10GbE) | 4K Random Write IOPS | Linux UID/GID Sync | Locking Overhead |
|---|---|---|---|---|
| NFS v4.2 (Async, sec=sys) | 1,142 MB/s | 18,400 IOPS | Native POSIX (33:33) | Ultra Low (Kernel Level) |
| SMB / CIFS 3.1.1 (multi-channel) | 1,085 MB/s | 12,200 IOPS | Mapping via force user/group | Moderate (Samba daemon) |
| WebDAV / External App | 145 MB/s | 850 IOPS | Abstracted via HTTP API | High (PHP serialization) |
Why Compute and Storage Must Be Decoupled in Homelabs
When starting a self-hosted cloud, many users attach large 8TB-16TB virtual disks directly to their Nextcloud VM. This creates serious operational problems: nightly VM snapshots take hours, Proxmox storage runs out of space, and restoring a corrupted database requires rolling back multi-terabyte files.
The enterprise homelab blueprint separates these duties: Proxmox VE runs the Nextcloud compute instance on fast NVMe storage, while TrueNAS SCALE manages the physical hard drive pool with ZFS data protection, automated scrubs, and RAIDZ redundancy.
NFS v4.2 vs SMB 3.1.1: Lab Benchmarks
We tested sequential and random throughput over a direct 10GbE link between a Minisforum MS-01 Proxmox host and a TrueNAS SCALE server with 6x 16TB IronWolf drives in RAIDZ2:
- NFS v4.2: Delivered 1,142 MB/s line-speed sequential reads and handled 100,000 Nextcloud photo thumbnail reads 34% faster than SMB due to zero user-space protocol overhead.
- SMB 3.1.1: Reached 1,085 MB/s. Easier to integrate if Windows PCs also access the same dataset directly outside of Nextcloud.
Step-by-Step TrueNAS SCALE Dataset Configuration
- In TrueNAS, create a dedicated dataset:
tank/nextcloud-data. - Set ACL Type to
POSIXorNFSv4. - Set Dataset Owner to User ID 33 and Group ID 33 (matching Nextcloud's
www-datauser). - Navigate to Sharing → Unix Shares (NFS), add
/mnt/tank/nextcloud-data, and restrict access to the IP address of your Proxmox Nextcloud host.
Mounting Inside Proxmox / Docker Nextcloud AIO
Mount the NFS share persistently inside your Proxmox Docker host via /etc/fstab:
# /etc/fstab entry on Proxmox Docker host
192.168.1.50:/mnt/tank/nextcloud-data /mnt/truenas-nextcloud nfs4 rw,async,hard,intr,noatime,rsize=1048576,wsize=1048576 0 0
Then pass the directory directly into your Nextcloud AIO setup script or Docker Compose as an external volume:
volumes:
- /mnt/truenas-nextcloud:/mnt/ncdata:rw
Once mounted, run docker exec -u 33 -it nextcloud-aio-nextcloud php occ files:scan --all to index existing TrueNAS files instantly into Nextcloud.
Hardware for High-Bandwidth TrueNAS & Nextcloud Storage
Mellanox ConnectX-3 10GbE SFP+ PCIe Card
Plug-and-play 10GbE networking for Proxmox and TrueNAS with zero CPU overhead.
Seagate IronWolf Pro 16TB Enterprise NAS HDD
7200 RPM CMR drive built for 24/7 ZFS RAIDZ2 storage pools.
Crucial P3 Plus 2TB PCIe Gen4 NVMe SSD
High-speed ZFS metadata special allocation class (VDEV) to speed up folder indexing 8x.
*Tested on our lab test bench under Proxmox VE 8.2. As an Amazon Associate, HomeLab Starter earns from qualifying purchases at no extra cost to you.