Which file sharing protocol should I use for my TrueNAS SCALE ?

Which file sharing protocol should I use ?

  • WebDAV

  • SFTP

  • Rsync

  • Microsoft SMB


Results are only viewable after voting.

vn_mnm

Explorer
Joined
Nov 23, 2020
Messages
66
I plan to use my NAS system in-house only. No need for a website, remote access can be done via VPN.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I voted for SMB, but the poll options you've chosen kind of confuse me. There are two on there that simply aren't file-sharing protocols at all (transfer, yes; sharing, no), and a third (WebDAV) that, honestly, seems like kind of an odd one to mention. And then you don't mention NFS at all. Maybe it'd be helpful for you to explain your use case in a little more detail--if, e.g., SFTP is on the table, maybe it isn't file storage in the normal sense.

For "normal" network file-sharing, SMB would be the protocol of choice for Windows or Mac clients; *nix clients could use either that or NFS.
 
Last edited:
Joined
Jun 2, 2019
Messages
591
RSYNC and SMB
 

vn_mnm

Explorer
Joined
Nov 23, 2020
Messages
66
I voted for SMB, but the poll options you've chosen kind of confuse me. There are two on there that simply aren't file-sharing protocols at all (transfer, yes; sharing, no), and a third (WebDAV) that, honestly, seems like kind of an odd one to mention. And then you don't mention NFS at all. Maybe it'd be helpful for you to explain your use case in a little more detail--if, e.g., SFTP is on the table, maybe it isn't file storage in the normal sense.

For "normal" network file-sharing, SMB would be the protocol of choice for Windows or Mac clients; *nix clients could use either that or NFS.
I use my TrueNAS SCALE for storing photography works. I will be editing those photos on my personal laptop or desktop then saving those post-processed files back on the NAS, so a synchronisation client on my personal computer is not needed. Instead, I would rather treat the NAS as a network disk drive and have direct access to it whenever I am on my home network and via VPN on a remote network.

I look forward to your further advice. Thank you very much in advance.
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
I would say that @danb35 nailed it...

Rsync is not file sharing, so should not be on such a list.
Neither is SFTP. Again, SFTP can transfert a file but it is not meant for sharing and graphical user interface.
Not to mention AFP is Ok because even Apple is discarding it...
NFS is to Unix what SMB is to Windows. Not to have mentioned NFS probably means you do not have any Unix clients...
WebDAV can be used to map a shared folder like SMB and NFS but the vanilla WebDAV service in TrueNAS is limited. Should you wish to go that way, Nextcloud is also WebDAV and would offer you million time more. But from your description, you may not need that...

So that leave the option to choose between SMB and SMB, so guess what the recommendation will be...
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I look forward to your further advice. Thank you very much in advance.
From what you've said, I'd say SMB is pretty definitely the way to go. rsync and SFTP would not (normally) act as a network disk drive, as you want it to. WebDAV might work, but SMB really is the time-honored solution.
Not to mention AFP is Ok because even Apple is discarding it...
Not to mention that it isn't present in SCALE anyway.
 

vn_mnm

Explorer
Joined
Nov 23, 2020
Messages
66
From what you've said, I'd say SMB is pretty definitely the way to go. rsync and SFTP would not (normally) act as a network disk drive, as you want it to. WebDAV might work, but SMB really is the time-honored solution.

Not to mention that it isn't present in SCALE anyway.
Thanks for your advice buddy. Does SMB also work with MacOS and Debian Linux ?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
SMB works great with macOS, and works well with Linux (generally) as well. I don't know about any quirks Debian may have, but I wouldn't expect anything too serious.
 
Top