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
Teresa Agnes
How to Learn Magic - Guide with Tips and Skills for Beginners
Craigslist Myrtle Beach Motorcycles For Sale By Owner
Blanchard St Denis Funeral Home Obituaries
Sarah F. Tebbens | people.wright.edu
Dr Doe's Chemistry Quiz Answer Key
Nj Scratch Off Remaining Prizes
Fredericksburg Free Lance Star Obituaries
Hood County Buy Sell And Trade
Unit 33 Quiz Listening Comprehension
Midlife Crisis F95Zone
Wisconsin Women's Volleyball Team Leaked Pictures
Craftology East Peoria Il
Xomissmandi
Nhl Wikia
Jinx Chapter 24: Release Date, Spoilers & Where To Read - OtakuKart
Average Salary in Philippines in 2024 - Timeular
How Much You Should Be Tipping For Beauty Services - American Beauty Institute
Walgreens San Pedro And Hildebrand
Strange World Showtimes Near Roxy Stadium 14
Juicy Deal D-Art
eHerkenning (eID) | KPN Zakelijk
Hewn New Bedford
Used Safari Condo Alto R1723 For Sale
Who is Jenny Popach? Everything to Know About The Girl Who Allegedly Broke Into the Hype House With Her Mom
Egizi Funeral Home Turnersville Nj
Home
Cookie Clicker Advanced Method Unblocked
Ontdek Pearson support voor digitaal testen en scoren
Sand Dollar Restaurant Anna Maria Island
Www Pointclickcare Cna Login
Jackass Golf Cart Gif
Jazz Total Detox Reviews 2022
Ravens 24X7 Forum
Gina's Pizza Port Charlotte Fl
Stolen Touches Neva Altaj Read Online Free
Acadis Portal Missouri
Vivek Flowers Chantilly
What Does Code 898 Mean On Irs Transcript
Gun Mayhem Watchdocumentaries
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
No Boundaries Pants For Men
If You're Getting Your Nails Done, You Absolutely Need to Tip—Here's How Much
Free Crossword Puzzles | BestCrosswords.com
Mitchell Kronish Obituary
Rs3 Nature Spirit Quick Guide
The Hardest Quests in Old School RuneScape (Ranked) – FandomSpot
Dmv Kiosk Bakersfield
Jigidi Jigsaw Puzzles Free
Amourdelavie
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.