NFS vs SMB vs CIFS: File storage protocols defined | Computer Weekly (2024)

Feature

We take a close look at NFS and SMB – the key file storage access protocols – and weigh up their pros, cons and suitability to differing datacentre environments

Network file system (NFS), server message block (SMB) and common internet file system (CIFS) are all file access storage protocols, used to access files on remote servers and storage servers (such as NAS storage) as if they were local files.

They are not the file system, but they are protocols that operate at the application layer to establish synchronised communication between applications and storage, via the file system, whichever one may be in use. As application layer protocols, they are of the same order as HTTP, FTP, POP, and SMTP, for example.

NFS, SMB and CIFS are generally used with NAS file access storage systems, not SAN block storage, which can access blocks within files.

NFS: roots in Linux/Unix

NFS is mostly used with Linux and Unix operating systems. It was originally developed by Sun Microsystems in 1984 and is now at version 4, with parallel file access functionality (pNFS, used in scale-out NAS).

NFS uses a client-server architecture to make files accessible to multiple computers on a LAN. Admins can set which files are accessible by who (including via access control tools such asActive Directory) and NFS keeps up with synching data between machines.

NFS could run on the internet, in theory, but it lacks the ability to handle complex routing instructions and it is not encrypted by default.

Although developed by a Unix vendor and often used for Unix and Linux, NFS can also be used in Windows environments.

SMB: on the Windows side

SMB is primarily used in Windows environments and it forms the basis for Microsoft’s distributed file system.

IBM developed SMB originally in 1983 as a way of providing shared access to files and printers across a network. Microsoft picked it up later. The company used it in LAN Manager for IBM OS/2 in 1987 and subsequently built it into Windows NT 3.1 and has retained it in its operating systems since then.

SMB clients mount to files and directories via computer hostname or IP address (NFS uses the Unix command line). SMB can also be used in Unix and Linux environments and is a little easier to use in hybrid (Windows and Linux/Unix) environments than NFS.

Summary: NFS versus SMB

  • NFS better for Unix/Linux, while SMB better for Windows.
  • NFS requires extra tools to support Apple, but SMB does not.
  • NFS runs in Unix/Linux and Windows; SMB needs Samba to do so.
  • NFS file locking is mandatory or advisory, but SMB locking is mandatory.
  • NFS has no fast file find; SMB has fast find.
  • NFS no server and printer browsing, while SMB has server and printer browsing.
  • NFS slower reads and writes; SMB faster.
  • NFS better with small files, while SMB fine with small files but better with large files.

SMB 1.0 arrived in 1983 with some encryption and running NetBIOS, with a great deal of chattiness that was later mitigated in SMB 2.0. File locking in SMB – so-called opportunistic locking – came in with version 2.0.

SMB 3.0 brought the SMB direct Protocol to give RDMA (direct access to memory) functionality, plus security enhancements such as end-to-end encryption. The latest version – 3.1.1 – beefs up security even further.Samba and others are third-party, reverse-engineered version of SMB developed back when it was proprietary.

Common internet file system (CIFS) is an implementation, or “dialect” of SMB, first introduced as a version of SMB 1.0 in 1996. It is mostly used with NetBIOS-based transports – which can get cumbersome on bigger, busier networks – and was focused on small LAN file, print and application access to storage. For that reason, it has been less scalable than NFS. CIFS is considered chatty, buggy and less than optimally secure compared to SMB.

Read more about file storage

  • File, block and object: Storage fundamentals in the cloud era. We look at the three basic ways that storage accesses data – via file, block and object – as well as the ways in which the rise of the cloud and distributed systems have brought changes to them.
  • Five things you need to know about cloud file services. We look at cloud file services, which provide a file system-like architecture that gives users access to file data wherever they are, just as if it were a local NAS filer.

Read more on SAN, NAS, solid state, RAID

NFS vs SMB vs CIFS: File storage protocols defined | Computer Weekly (2024)
Top Articles
All About Self-Directed 401(k)s | Human Interest
How to Calculate Freight Costs | Freight Cost Calculator
Junk Cars For Sale Craigslist
Google Sites Classroom 6X
Boggle Brain Busters Bonus Answers
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Gameplay Clarkston
Southland Goldendoodles
Ohiohealth Esource Employee Login
Gfs Rivergate
General Info for Parents
More Apt To Complain Crossword
Craigslist Alabama Montgomery
Tcgplayer Store
Buff Cookie Only Fans
Slope Tyrones Unblocked Games
St Maries Idaho Craigslist
Race Karts For Sale Near Me
How Long After Dayquil Can I Take Benadryl
Rs3 Ushabti
Regina Perrow
Hesburgh Library Catalog
1979 Ford F350 For Sale Craigslist
Visit the UK as a Standard Visitor
Frank Vascellaro
Ewg Eucerin
Bridgestone Tire Dealer Near Me
The value of R in SI units is _____?
Kokomo Mugshots Busted
Pitco Foods San Leandro
Frostbite Blaster
Terrier Hockey Blog
Mcgiftcardmall.con
Froedtert Billing Phone Number
Citibank Branch Locations In Orlando Florida
Casamba Mobile Login
Three V Plymouth
Cocorahs South Dakota
Trending mods at Kenshi Nexus
26 Best & Fun Things to Do in Saginaw (MI)
Willkommen an der Uni Würzburg | WueStart
American Bully Puppies for Sale | Lancaster Puppies
Wisconsin Volleyball titt*es
Online College Scholarships | Strayer University
Ronnie Mcnu*t Uncensored
Suppress Spell Damage Poe
Guy Ritchie's The Covenant Showtimes Near Look Cinemas Redlands
Game Like Tales Of Androgyny
Appsanywhere Mst
Festival Gas Rewards Log In
Taterz Salad
login.microsoftonline.com Reviews | scam or legit check
Latest Posts
Article information

Author: Gov. Deandrea McKenzie

Last Updated:

Views: 5604

Rating: 4.6 / 5 (46 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Gov. Deandrea McKenzie

Birthday: 2001-01-17

Address: Suite 769 2454 Marsha Coves, Debbieton, MS 95002

Phone: +813077629322

Job: Real-Estate Executive

Hobby: Archery, Metal detecting, Kitesurfing, Genealogy, Kitesurfing, Calligraphy, Roller skating

Introduction: My name is Gov. Deandrea McKenzie, I am a spotless, clean, glamorous, sparkling, adventurous, nice, brainy person who loves writing and wants to share my knowledge and understanding with you.