You can use both without issue. I use NFS to share between two Linux servers (unraid and proxmox/dockers) and then some of those same folders are shared via smb for desktop windows or Linux laptop.
Selfhosted
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
Rules:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
Depending on your use cases and apps, file locking can be problematic when sharing across SMB and NFS simultaneously, their locking semantics are slightly different
Fair enough, I primarily use NFS for Linux to Linux sever communication and high file access.
Smb is mostly for moving files around occasionally
Not sure if trying to run a database over smb is a good idea but I do it on NFS all the time
Regardless it doesn't have to be exclusive. OP can change it up depending on the application
SMB for the windows clients, possibly NFS as well for the others. *nix will talk with SMB fine, but NFS may be faster. Windows' NFS support is shit though.
Running both daemons won't really add much overhead
SMB.
The windows nfs implementation sucks, but everything talks SMB.
Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:
Fewer Letters | More Letters |
---|---|
NAS | Network-Attached Storage |
NFS | Network File System, a Unix-based file-sharing protocol known for performance and efficiency |
SFTP | Secure File Transfer Protocol for encrypted file transfer, over SSH |
SMB | Server Message Block protocol for file and printer sharing; Windows-native |
SSH | Secure Shell for remote terminal access |
SSL | Secure Sockets Layer, for transparent encryption |
TLS | Transport Layer Security, supersedes SSL |
5 acronyms in this thread; the most compressed thread commented on today has 14 acronyms.
[Thread #783 for this sub, first seen 4th Jun 2024, 06:05] [FAQ] [Full list] [Contact] [Source code]
I can’t comment on Linux, but IIRC SMB was best for situations needing both Mac and Windows, so I’d guess that’s the choice. Totally off memory, though.