Upgrading UniFi Drive (UNAS Pro) & Unraid from NFSv3 to NFSv4.1
Switching my Unraid + UniFi UNAS Pro media mount from NFSv3 to NFSv4.1 on UniFi Drive 4.6.4+, including the export path change and Unassigned Devices RAM cache gotcha.
With UniFi Drive 4.6.4 (which requires UniFi OS 6.0.7+), Ubiquiti finally added NFSv4.1 support to the UNAS Pro.
If you're mounting UNAS Pro shares on Unraid over NFSv3, moving to NFSv4.1 is pretty straightforward once you know two quirks: the export path changes, and Unraid's Unassigned Devices plugin caches its config in RAM.
What actually changes
For raw Plex streaming, throughput is basically the same — both saturate the link with rsize=1048576,wsize=1048576. Where NFSv4.1 helps is metadata-heavy scans (Sonarr/Radarr walking thousands of folders) thanks to compound RPCs, plus cleaner firewall rules since everything runs over TCP 2049 without rpcbind (port 111), statd, or random mountd ports. Locking is handled inside the session too, so you get fewer stale-lock headaches after a NAS reboot. (With sec=sys, auth is still UID/GID-based over the LAN.)
Because Unraid still mounts the share at /mnt/remotes/nas_media, none of the container volume paths in docker-compose.yml need to change.
Enabling NFSv4.1 on the UNAS Pro
- Make sure the UNAS Pro is on UniFi OS 6.0.7+ and UniFi Drive 4.6.4+.
- Go to UniFi Drive → Settings → File Services → NFS and turn on NFSv4.1.
- Check your share's NFS permissions/squash settings so Unraid's
nobody:users (99:100) can read and write.
The export path gotcha
If you try mounting your old NFSv3 path with vers=4.1, the UNAS Pro rejects it:
mount.nfs: mounting <UNAS_PRO_IP>:/volume/<uuid>/.srv/.unifi-drive/media/.data failed, reason given by server: No such file or directory
Under NFSv4.1, UniFi Drive exports from a pseudo-root (/media instead of /volume/<uuid>/.srv/.unifi-drive/media/.data). You can test it from Unraid first:
rpcinfo -T tcp <UNAS_PRO_IP> nfs
# program 100003 version 3 ready and waiting
# program 100003 version 4 ready and waiting
mkdir -p /tmp/test_nfs41
mount -t nfs -o vers=4.1,ro <UNAS_PRO_IP>:/media /tmp/test_nfs41
ls -la /tmp/test_nfs41
umount /tmp/test_nfs41 && rmdir /tmp/test_nfs41
Switching the live Unraid mount
Stop the containers touching /mnt/remotes/nas_media, remount with vers=4.1, verify, and start them back up:
docker stop plex jellyfin sonarr radarr bazarr
umount /mnt/remotes/nas_media
mount -t nfs -o rw,noatime,vers=4.1,rsize=1048576,wsize=1048576,hard,proto=tcp,timeo=50,retrans=5,sec=sys \
<UNAS_PRO_IP>:/media /mnt/remotes/nas_media
mount | grep nas_media
docker start plex jellyfin sonarr radarr bazarr
Updating Unassigned Devices for reboots
To keep the mount on <UNAS_PRO_IP>:/media after a reboot:
- In
/boot/config/plugins/unassigned.devices/unassigned.devices.cfg, set nfs_version=4 (Unassigned Devices negotiates vers=4.1 with the UNAS Pro).
- In
/boot/config/plugins/unassigned.devices/samba_mount.cfg, update the share block to:
[<UNAS_PRO_IP>:/media]
protocol="NFS"
ip="<UNAS_PRO_IP>"
path="/media"
share="media"
automount="yes"
mountpoint="nas_media"
One annoyance: Unassigned Devices caches these files in RAM at /tmp/unassigned.devices/config/. Copy both updated .cfg files there (or re-add the share in the WebUI) so the Main tab picks up the new path without a reboot.
Rough edges in UniFi Drive
Adding NFSv4.1 is welcome, though Ubiquiti's NFS UI is still pretty barebones:
- It doesn't show the NFSv4.1 pseudo-root (
<UNAS_PRO_IP>:/media) anywhere in the UI, which makes No such file or directory easy to hit.
- There's no view of active NFS clients, negotiated versions (
v3 vs v4.1), open locks, or even a way to browse the exported NFS share contents from the NFS settings UI.
- You don't get
/etc/exports tuning beyond the preset squash/permission modes, and access is IP-allowlist + sec=sys only (no Kerberos).
Why NFS over SMB from Unraid
Since both Unraid and the UNAS Pro are Linux-based, NFS fits Docker media pipelines (Plex, Jellyfin, Sonarr, Radarr, Bazarr) better than SMB, mostly because there's no Samba/ACL translation layer and nobody:users (99:100) permissions behave predictably across containers. I still keep SMB around for desktop/laptop access where per-user passwords and macOS/Windows support actually matter.