[{"data":1,"prerenderedAt":396},["ShallowReactive",2],{"searchBlogPosts":3,"content-\u002Fblog\u002Fdata-sharing-with-nfs":28},[4,7,10,13,16,19,22,25],{"_path":5,"title":6},"\u002Fblog\u002F2026\u002F03\u002F14\u002Fposthog-observability-tongueflow","How I Used PostHog to Add Observability to My Web App as a Junior DevOps Engineer",{"_path":8,"title":9},"\u002Fblog\u002F2025\u002F10\u002F05\u002Faws-cloud-operations-certification-journey-ssm-lab","AWS Cloud Operations Certification Journey: Mastering Systems Manager",{"_path":11,"title":12},"\u002Fblog\u002F2025\u002F03\u002F14\u002Fansible-setup-configuration","Ansible Setup and Configuration",{"_path":14,"title":15},"\u002Fblog\u002F2025\u002F01\u002F05\u002Fdata-sharing-with-nfs","Data Sharing with NFS: A Complete Guide for System Administrators",{"_path":17,"title":18},"\u002Fblog\u002F2024\u002F05\u002F23\u002Fjava-29th-birth","Java celebrates 29 years of history",{"_path":20,"title":21},"\u002Fblog\u002F2024\u002F03\u002F19\u002Fhow-to-update-to-java21","How to Update to Java 21 Using SDKMAN",{"_path":23,"title":24},"\u002Fblog\u002F2024\u002F02\u002F11\u002Fspring-async-retry","Implementing Asynchronous Retry Mechanism for Email Sending in Spring Applications",{"_path":26,"title":27},"\u002Fblog\u002F2024\u002F01\u002F25\u002Fjdbc-vs-jpa","JDBC vs JPA: Which is Better for Your Application?",{"_path":14,"_dir":29,"_draft":30,"_partial":30,"_locale":31,"title":15,"description":32,"slug":33,"date":34,"published":35,"author":36,"tags":37,"cover":42,"keywords":43,"body":49,"_type":389,"_id":390,"_source":391,"_file":392,"_stem":393,"_extension":394,"sitemap":395},"05",false,"","Learn how to configure and use Network File System (NFS) for secure cross-platform data sharing. Includes step-by-step setup guides for servers and clients.","data-sharing-with-nfs","2025-02-19",true,"Nidhal Naffati",[38,39,40,41],"Linux Administration","File Sharing","DevOps","System Administration","data-sharing-with-nfs.png",[44,45,46,47,48],"NFS setup","Network File System","Linux file sharing","NFS security","Server configuration",{"type":50,"children":51,"toc":377},"root",[52,60,67,124,130,135,141,246,252,263,286,295,313,319,324,355,364,370],{"type":53,"tag":54,"props":55,"children":56},"element","p",{},[57],{"type":58,"value":59},"text","In today's interconnected world, seamless data sharing across systems is crucial for efficient workflows. Network File System (NFS) has been the backbone of Unix\u002FLinux file sharing since 1984, enabling remote file access as if working with local storage. This guide covers everything from basic concepts to production-ready configurations.",{"type":53,"tag":61,"props":62,"children":64},"h2",{"id":63},"table-of-contents",[65],{"type":58,"value":66},"Table of Contents",{"type":53,"tag":68,"props":69,"children":70},"ul",{},[71,81,89,97,105,113,116],{"type":53,"tag":72,"props":73,"children":74},"li",{},[75],{"type":53,"tag":76,"props":77,"children":78},"span",{},[79],{"type":58,"value":80},"What is NFS?",{"type":53,"tag":72,"props":82,"children":83},{},[84],{"type":53,"tag":76,"props":85,"children":86},{},[87],{"type":58,"value":88},"Key NFS Versions",{"type":53,"tag":72,"props":90,"children":91},{},[92],{"type":53,"tag":76,"props":93,"children":94},{},[95],{"type":58,"value":96},"Benefits and Limitations",{"type":53,"tag":72,"props":98,"children":99},{},[100],{"type":53,"tag":76,"props":101,"children":102},{},[103],{"type":58,"value":104},"How NFS Works",{"type":53,"tag":72,"props":106,"children":107},{},[108],{"type":53,"tag":76,"props":109,"children":110},{},[111],{"type":58,"value":112},"Server Configuration",{"type":53,"tag":72,"props":114,"children":115},{},[],{"type":53,"tag":72,"props":117,"children":118},{},[119],{"type":53,"tag":76,"props":120,"children":121},{},[122],{"type":58,"value":123},"Security Best Practices",{"type":53,"tag":61,"props":125,"children":127},{"id":126},"what-is-nfs-what-is-nfs",[128],{"type":58,"value":129},"What is NFS? {#what-is-nfs}",{"type":53,"tag":54,"props":131,"children":132},{},[133],{"type":58,"value":134},"NFS (Network File System) is a distributed file protocol that enables transparent access to remote filesystems across networks. Originally developed by Sun Microsystems, it's now supported by all major operating systems (including Windows via third-party tools).",{"type":53,"tag":61,"props":136,"children":138},{"id":137},"key-nfs-versions-key-nfs-versions",[139],{"type":58,"value":140},"Key NFS Versions {#key-nfs-versions}",{"type":53,"tag":142,"props":143,"children":144},"table",{},[145,169],{"type":53,"tag":146,"props":147,"children":148},"thead",{},[149],{"type":53,"tag":150,"props":151,"children":152},"tr",{},[153,159,164],{"type":53,"tag":154,"props":155,"children":156},"th",{},[157],{"type":58,"value":158},"Version",{"type":53,"tag":154,"props":160,"children":161},{},[162],{"type":58,"value":163},"Year",{"type":53,"tag":154,"props":165,"children":166},{},[167],{"type":58,"value":168},"Key Features",{"type":53,"tag":170,"props":171,"children":172},"tbody",{},[173,192,210,228],{"type":53,"tag":150,"props":174,"children":175},{},[176,182,187],{"type":53,"tag":177,"props":178,"children":179},"td",{},[180],{"type":58,"value":181},"NFSv3",{"type":53,"tag":177,"props":183,"children":184},{},[185],{"type":58,"value":186},"1995",{"type":53,"tag":177,"props":188,"children":189},{},[190],{"type":58,"value":191},"64-bit file sizes, async writes",{"type":53,"tag":150,"props":193,"children":194},{},[195,200,205],{"type":53,"tag":177,"props":196,"children":197},{},[198],{"type":58,"value":199},"NFSv4",{"type":53,"tag":177,"props":201,"children":202},{},[203],{"type":58,"value":204},"2000",{"type":53,"tag":177,"props":206,"children":207},{},[208],{"type":58,"value":209},"Stateful protocol, security enhancements",{"type":53,"tag":150,"props":211,"children":212},{},[213,218,223],{"type":53,"tag":177,"props":214,"children":215},{},[216],{"type":58,"value":217},"NFSv4.1",{"type":53,"tag":177,"props":219,"children":220},{},[221],{"type":58,"value":222},"2010",{"type":53,"tag":177,"props":224,"children":225},{},[226],{"type":58,"value":227},"Parallel access, session trunking",{"type":53,"tag":150,"props":229,"children":230},{},[231,236,241],{"type":53,"tag":177,"props":232,"children":233},{},[234],{"type":58,"value":235},"NFSv4.2",{"type":53,"tag":177,"props":237,"children":238},{},[239],{"type":58,"value":240},"2016",{"type":53,"tag":177,"props":242,"children":243},{},[244],{"type":58,"value":245},"Server-side copy, space reservations",{"type":53,"tag":61,"props":247,"children":249},{"id":248},"benefits-and-limitations-benefits-and-limitations",[250],{"type":58,"value":251},"Benefits and Limitations {#benefits-and-limitations}",{"type":53,"tag":54,"props":253,"children":254},{},[255,261],{"type":53,"tag":256,"props":257,"children":258},"strong",{},[259],{"type":58,"value":260},"✅ Advantages",{"type":58,"value":262},":",{"type":53,"tag":68,"props":264,"children":265},{},[266,271,276,281],{"type":53,"tag":72,"props":267,"children":268},{},[269],{"type":58,"value":270},"Centralized storage management",{"type":53,"tag":72,"props":272,"children":273},{},[274],{"type":58,"value":275},"Cost-effective resource sharing",{"type":53,"tag":72,"props":277,"children":278},{},[279],{"type":58,"value":280},"Cross-platform compatibility",{"type":53,"tag":72,"props":282,"children":283},{},[284],{"type":58,"value":285},"Low-latency performance on LANs",{"type":53,"tag":54,"props":287,"children":288},{},[289,294],{"type":53,"tag":256,"props":290,"children":291},{},[292],{"type":58,"value":293},"❌ Limitations",{"type":58,"value":262},{"type":53,"tag":68,"props":296,"children":297},{},[298,303,308],{"type":53,"tag":72,"props":299,"children":300},{},[301],{"type":58,"value":302},"Historical security concerns (mitigated in v4+)",{"type":53,"tag":72,"props":304,"children":305},{},[306],{"type":58,"value":307},"Not ideal for high-latency WANs",{"type":53,"tag":72,"props":309,"children":310},{},[311],{"type":58,"value":312},"Limited native Windows support",{"type":53,"tag":61,"props":314,"children":316},{"id":315},"how-nfs-works-how-nfs-works",[317],{"type":58,"value":318},"How NFS Works {#how-nfs-works}",{"type":53,"tag":54,"props":320,"children":321},{},[322],{"type":58,"value":323},"NFS operates using a client-server model:",{"type":53,"tag":325,"props":326,"children":327},"ol",{},[328,340,345,350],{"type":53,"tag":72,"props":329,"children":330},{},[331,333],{"type":58,"value":332},"Server exports directories via ",{"type":53,"tag":334,"props":335,"children":337},"code",{"className":336},[],[338],{"type":58,"value":339},"\u002Fetc\u002Fexports",{"type":53,"tag":72,"props":341,"children":342},{},[343],{"type":58,"value":344},"Client mounts remote filesystem locally",{"type":53,"tag":72,"props":346,"children":347},{},[348],{"type":58,"value":349},"Communication via RPC (v3) or direct TCP (v4+)",{"type":53,"tag":72,"props":351,"children":352},{},[353],{"type":58,"value":354},"File operations handled transparently",{"type":53,"tag":54,"props":356,"children":357},{},[358],{"type":53,"tag":359,"props":360,"children":363},"img",{"alt":361,"src":362},"NFS Architecture Diagram","nfs-architecture.png",[],{"type":53,"tag":61,"props":365,"children":367},{"id":366},"server-configuration-server-configuration",[368],{"type":58,"value":369},"Server Configuration {#server-configuration}",{"type":53,"tag":371,"props":372,"children":374},"h3",{"id":373},"step-1-install-nfs-server",[375],{"type":58,"value":376},"Step 1: Install NFS Server",{"title":31,"searchDepth":378,"depth":378,"links":379},2,[380,381,382,383,384,385],{"id":63,"depth":378,"text":66},{"id":126,"depth":378,"text":129},{"id":137,"depth":378,"text":140},{"id":248,"depth":378,"text":251},{"id":315,"depth":378,"text":318},{"id":366,"depth":378,"text":369,"children":386},[387],{"id":373,"depth":388,"text":376},3,"markdown","content:blog:2025:01:05:data-sharing-with-nfs.md","content","blog\u002F2025\u002F01\u002F05\u002Fdata-sharing-with-nfs.md","blog\u002F2025\u002F01\u002F05\u002Fdata-sharing-with-nfs","md",{"loc":14},1773617923833]