Nextcloud on a NAS or local storage? Why small installations often get it wrong


Nextcloud is misunderstood in a lot of small setups. The decision often comes down to capacity: the NAS has plenty of space, the server doesn't, so the files go on the NAS. Sounds logical. Unfortunately, it can lead to poor performance and mysterious problems.

The real issue isn't storage capacity. It's I/O behaviour.

How Nextcloud actually works

Nextcloud isn't just a file server. Every file operation involves several things:

  • Reading or writing the file
  • Updating metadata in the database
  • Generating previews
  • Managing file locks
  • Running background jobs

That's a lot of small, random operations rather than big, sequential transfers.

And this is where a NAS and local storage can behave very differently.

Local storage: why it often feels faster

Local NVMe or SSD storage has two big advantages:

  • Very low latency
  • High IOPS for small files

Nextcloud benefits directly, especially with:

  • Lots of small files
  • Navigating the web interface
  • Multiple clients syncing at the same time
  • Generating thumbnails

A system with a relatively small SSD can feel much faster than a big RAID-backed NAS.

NAS storage: where the trouble starts

Many NAS setups are optimised for capacity and sequential throughput, not the lowest possible latency.

When Nextcloud accesses files over SMB/CIFS or NFS, extra factors come into play:

  • Network latency
  • Locking behaviour
  • Additional caching layers
  • Protocol overhead

Symptoms can include:

  • Files opening slowly despite a fast network
  • A sluggish web interface
  • Unexpected CPU load
  • Occasional timeouts

Sometimes Nextcloud gets the blame when the bottleneck is the storage architecture.

Why small installations get caught out

Bigger environments often separate the components more carefully:

  • Fast storage for the active workload
  • A NAS for backups or other bulk storage
  • Separate database and application services where needed

Small setups try to run the application, database and file storage together, often with the storage across the network. That can work, but it may be inefficient.

My practical setup for a handful of users

For two to five users, I'd start with:

  • The Nextcloud application on local SSD or NVMe storage
  • The database on fast local storage, too
  • The NAS as a backup target

That lets the NAS do what it does well: hold large amounts of data reliably without being involved in every tiny application operation.

When NAS storage does make sense

Network storage can still be the right answer when:

  • You need very large amounts of space
  • There are many parallel downloads
  • You're using a supported object-storage architecture
  • Local disks simply won't fit the data

Then the network and storage protocol need to be designed for the workload rather than treated as an afterthought.

Common misconceptions

“More storage is automatically better.”
“RAID solves performance problems.”
“Gigabit Ethernet is always enough.”
“Nextcloud behaves just like a network drive.”

None of these is universally true.

Conclusion

Nextcloud performance depends heavily on storage latency and I/O, not just CPU and RAM.

For a small installation, local application and database storage is often the easiest way to get snappy performance. A NAS can sit behind it for backup and archiving.

Think about that early and you'll spend much less time trying to optimise a setup that's slow by design.

Previous Next