Have you heard of Uniblue's Registry Booster 2009?
Clean, repair and optimize your system with this Free Stability Scan.
Learn more here »

Samba Server vs. NFS Server

Article by Berry van der Linden (2,196 pts )
Published on Jun 1, 2009

When sharing files, just like with anything on Linux, you have more then one option, and you should make your choice based on what you need. We'll take a look at both SAMBA Server and NFS Server in this article.

What are the Features of the Two?

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.

So Why Choose One over the Other?

If you have some Windows boxes in the network, then it might be better to choose Samba/CIFS. Natively, Windows doesn't support NFS. You would have to get a third party client application to be able to access your NFS shares.

However, if your network consists of Linux boxes, only then NFS is the choice you could make. The simple setup will allow you to authenticate clients by IP address. This is secure on smaller networks like at home or small businesses, but you should setup with Kerberos when you have a substantial network of 25 boxes or more. It will provide you with better authentication. This setup will be harder if you have 25 boxes or more, so you may want to get a Linux guru do this for you.

I recently upgraded my Samba client to CIFS. This will have a better integration for your Linux file systems. It's also easier to get the permission rights using CIFS over Samba clients. I find that CIFS is faster than the Samba client.

Transfer speed of files over 1GB are faster on the NFS server. I have Samba and NFS installed on my file server and can access Linux and Windows boxes. NFS is faster than Samba and CIFS clients.

Conclusion

If you run a small network with only a few boxes, then use NFS server but don't forget to use “root squash” to make sure you don't give anybody root access to directories on the file server.

If you have a larger network and you administer user accounts on the server, then NFS with Kerberos is probably a better choice.

If you have Windows-based boxes that need to access the file server, you could always purchase third-party software. As far as I know, there are no free NFS clients under Windows. So, you can opt for Samba server instead.

Search More About:

Response to: "Samba Server vs. NFS Server"

Aaron Low
Jul 2, 2009
9:09 AM
Windows Free NFS Client
Just to let you know, there is a free Windows NFS client available from Microsoft. It is part of the Unix Services for Windows package. It is available at the following link: http://www.microsoft.com/Downloads/details.aspx?familyid=896C9688-601B-44F1-81A4-02878FF11778&displaylang=en Aaron

Leave a Comment

Name:
Email (required, must be legitimate):
Subject:
Your Comment:

2000 characters maximum. Characters remaining: 2000

Enter the code above:
   

  Channel Sponsors  
Free Network Security Scanner
Network security & port scanning made easy with GFI LANguard. Download free today!
  Free PC Scan
Increase PC stability. Scan your PC for common registry errors.
Earn Your IT Degree Online
Earn your IT degree online from an accredited leader in distance education. Maximum transfer of previously earned credit. Finish sooner. Excelsior College.
  Advertise Here!
The Computing Hub at Bright Hub receives over 430,000 monthly page views.  Contact us to learn more about advertising opportunities.




Bright Hub - Science & Technology Articles, Buyer's Guides, How-To Tips and Software Reviews
About Bright Hub | Contact Us | Advertise with Us | Become a Writer | RSS | Site Map | Terms of Use | Privacy Policy | Copyright Policy
©2009 Bright Hub Inc. All rights reserved. Page copy protected against web site content infringement by Copyscape