SMB and App Storage?

Koloss42

Dabbler
Joined
Aug 21, 2023
Messages
21
Is it possible to have an SMB share and still have an app access the same dataset?
 

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
Yes, under Apps -> Settings -> Advanced Settings you can uncheck "Enable Host Path Safety Checks" to allow for this shared access.

Because this will let both SMB clients and an app access the same dataset, you can open up a small but non-zero risk if a file is open via both methods simultaneously. For something where an app is only reading from the files (eg: Plex, Emby, Jellyfin) then the risk is minimal - if you're considering something like NextCloud or Syncthing where both the SMB client and the app itself could be writing to files at the same time, there's a greater chance of a conflict, as the app won't see any potential SMB locking. I'd recommend snapshots to be set up on any dataset you plan to share in this "dual writer" manner.
 
Top