I am running a NAS that needs to connect to a server (the NAS isn’t powerful enough). I also need to connect my NAS to a Windows, Mac, and Linux device (Linux being the most important, then Mac, then Windows). Out of SMB, FTP, and NFS, which one would be the best, quickest, and most secure for my situation? My NAS supports multiple sharing protocols, but I don’t want to deal with mixed up permissions and conflicts later on.

  • TedZanzibar@feddit.uk
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months ago

    Unless you’re hosting VHDs and need maximum throughput (in which case use NFS), SMB is going to be the easiest to setup and maintain across those 4 platforms.

    The Linux SMB implementation is decent and supports the latest version of the protocol (or close to, at least) whereas NFS in Windows ain’t so great and is a bit of a pig to get working in my experience.

  • Decronym@lemmy.decronym.xyzB
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    5 months ago

    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]

  • Shadow@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    SMB.

    The windows nfs implementation sucks, but everything talks SMB.

  • Lem453@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    5 months ago

    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.

    • mystik@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 months ago

      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

      • Lem453@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 months ago

        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

    • nfsm@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 months ago

      I would stick with SMB and SSH(SFTP). SMB for content sharing and accessible on any device like PCs or phones. SSH, which includes SFTP, for accessing everything else on the server.

  • Revan343@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    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

      • Revan343@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        I’ve found SMB to more frequently have connection issues with my Linux clients, and often be slower. It’ll work, but if you’re mainly supporting Linux clients, might as well set up NFS if you like toying with things anyways