NFS vs Samba


AFAIK, both just providing file sharing so what's the difference and which one has precedence over the other? Or it's just different method of file sharing?

Also, I have a Linux box, indented to store backups for other servers (Windows & Linux). Which one should be better to use in this scenerio (I guess samba?)

Thanks in advance.

Who is Participating?
robocatConnect With a Mentor Commented:

It depends on your clients.

You should offer NFS to your Unix/Linux clients and Samba CIFS shares to your Windows clients.

Using the native protocol for each OS is likely to cause the least amount of problems.
rxhangoConnect With a Mentor Commented:
Depending on the features below you can select:

Samba Server

    * Windows can connect to it natively without installing third-party software.
    * Assists in network browsing. With or without NetBIOS.
    * Acts as a Windows NT®-style Primary Domain Controller (PDC).
    * Acts as a Backup Domain Controller (BDC) for a Samba-based PDC.
    * Acts as an Active Directory domain member server.
    * Joins a Windows NT/2000/2003 PDC.

NFS Server

    * Faster then Samba when transferring large files over the network.
    * Easy to setup on any Linux system.
    * Supports Kerberos for authentication.
    * Has the ability to squash root so clients accessing the shares cannot access root files.
    * Uses IP-addresses to authenticate the client. And, is thus easier to setup.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.