Connecting External Storage

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 27.1.1
Operating system and version (eg, Ubuntu 20.04): Debian 12
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.57
PHP version (eg, 7.4): 8.2

The issue you are facing:
I’m looking for advise on the best way to add external storage.

I’ve setup a data folder under /opt/data as part of the install. I now want to add a chunk of storage from a synology NAS which will be used for ‘group shares’ storage.

I’m assuming I need to use the ‘external folders’ app? Is there any other options?

If I’m using the external storage app, which is the better option

  1. Mount the storage as NFS on the host and use the local option for the external folders
  2. Use SMB/CIFS
  3. Install WebDAV server on the NAS and connect via that

For each of the group shares, I will have one or two users who I only want to give read access and I’d rather not have to duplicate users across both the nextcloud and NAS to allow fine grained access control

Thanks in advance

Samba should be fine using external storage app. Might need to also install some packaging for samba support. Check the admin documentation.

https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/external_storage/smb.html