Self-Hosting · Storage
NAS Share Design: SMB, NFS, Permissions and the Layout That Ages Well
Most NAS share layouts happen by accident: a share per person, a share per project, permissions granted until things work and never revisited. Two years later nobody knows which folder is authoritative and every device mounts everything with full rights. This guide designs shares deliberately — by data type and access pattern — and covers which protocol each consumer should use in 2026.
Published Nov 20, 2026
The short answer
Design shares by data type and access pattern, not by person or app: a media share, a documents share, a backups share, each with the least access that still works. Serve almost everything over SMB, give Linux hosts and hypervisors NFS, and reserve iSCSI for the one job it is for — block storage a single machine owns. The layout below is the one that does not need redesigning in two years.
The protocols, as they stand in 2026
SMB is the default for a reason: Windows, macOS, and Linux all speak it natively, it carries its own user authentication, and current versions (SMB3) are fast and encrypted in transit if you ask. If a human with a laptop needs the share, it is SMB. NFS is the Linux-to-Linux specialist: no per-user authentication worth the name (it trusts the client machine and matches numeric user IDs), but lean, fast, and the natural way to mount storage into servers, Proxmox nodes, and Docker hosts. Treat NFS exports as machine-to-machine plumbing, restricted to specific host IPs, never as a user-facing share. AFP is retired — Apple deprecated it years ago and macOS now prefers SMB, including for Time Machine. If an old guide tells you to enable AFP, it is telling you its age. iSCSI and other block protocols have a niche (VM storage for a single host) but are not shares; don’t use them as one.
The protocol field, tabulated — the design that follows assigns each share one of these:
| Protocol | Use it for | Speed and behavior | Permissions model |
|---|---|---|---|
| SMB | Windows, macOS, phones, media players — the default for people | Full speed on modern networks; the only protocol everything speaks | Per-user and per-share ACLs — the model to build permissions on |
| NFS | Linux hosts, Proxmox and VM storage, Docker volumes | Lean and fast for machine-to-machine traffic | Trusts the client machine (host-based) — keep it on trusted segments |
| iSCSI | A LUN a hypervisor formats as its own disk | Block-level; as fast as the network allows | One initiator owns the LUN — it is not a share and never a multi-writer folder |
| AFP / legacy protocols | Nothing new in 2026 | Deprecated by Apple in favor of SMB | Leave off unless a museum piece on your network demands it |
Design by data type, not by person or app
The layout that ages well has a handful of top-level shares, each with one clear rule: Media (large, mostly read-only, replaceable-ish), Documents (small, precious, versioned), Photos (precious, append-mostly), Backups (write-only for backup jobs, readable by admins), AppData (container configs and databases, not browsed by humans), and a Scratch/Downloads share where mess is allowed. Per-person folders live inside Documents, not as parallel top-level shares. Why by type: backup policy, snapshot retention, permissions, and even which pool or drives the data sits on all follow the type — our storage architecture guide makes the same argument from the disk side. A share per application, by contrast, fragments everything the first time two apps need the same files.
Permissions: least privilege that still works
Three habits separate a designed system from an accumulated one. One account per human, one service account per system — the media server reads Media as its own user with read-only rights, so a compromised app cannot delete the library it serves. Read-only by default; write access is the exception you grant on purpose (the photo share is writable by the backup job and the humans adding photos, read-only to everything else). The Backups share is a one-way door: backup jobs can write, almost nothing can delete — that asymmetry is a ransomware control, since a compromised everyday account cannot reach in and erase the recovery copies. Review the matrix twice a year; permissions, like exposed ports, drift toward open.
Mounting patterns that don’t bite later
Docker hosts should mount NAS storage over NFS with the nolock-free, hard-mount defaults your platform suggests, and media stacks should see one unified path (the hardlink-friendly single-filesystem layout from our *arr guide depends on it). Keep database files off network shares entirely — Postgres and friends belong on the app host’s local disk, with backups landing on the NAS instead (the database backup guide explains the failure mode). Reference shares by a stable DNS name (nas.home), never by IP, so the day the NAS is replaced — see the migration playbook — every mount in the house keeps working.
Shares end at the network edge
A share design is only as strong as the segments that can reach it: the guest VLAN that mounts nothing, the IoT segment that reaches one share, the trusted segment that reaches all of them. The free Subnet Planner lays out those segments and their address ranges, so the permission model in this guide has a network that actually enforces it.
Official documentation and references
- Samba documentation — SMB server behavior and options
- Linux NFS wiki — exports, versions, and security model
- Apple: connect to servers — current macOS file-sharing protocol guidance
Frequently asked questions
SMB or NFS for my Linux server?
NFS, restricted to that server’s IP, for machine-to-machine mounts like media storage and Proxmox datastores — it is lean and integrates with Linux permissions by user ID. SMB for anything a person browses from a mixed set of devices. Many homes run both against the same folders: NFS for the servers, SMB for the humans.
Should each person have their own top-level share?
Give each person a home folder inside a Documents share instead. Top-level shares should follow data type, because snapshots, backup retention, and permissions are set per share — “documents” wants deep versioning and tight access whoever owns them, while “media” wants the opposite. Per-person top-level shares multiply those policies until nobody maintains them.
Can I run Docker container data on an NFS share?
Config folders for stateless apps usually survive it, but databases do not — SQLite locking and Postgres data directories over NFS are a well-documented path to corruption and stalls. Keep app data on the Docker host’s local storage and use the NAS for media, backups, and bulk files. If the host is diskless by design, test one app at a time and keep dumps current.
Is it safe to give the whole house read-write to everything?
It works until it doesn’t: one ransomware infection or one sync client gone wrong with full write access can damage every share at once. Read-only defaults, per-service accounts, and a write-protected Backups share cost an hour to set up and convert a house-wide incident into a single-share restore.

