Network File SystemsNFS GeneralNetwork File System (NFS)DistributionDistributionSlide 6TransparencyTransparencyPerformanceSlide 10Slide 11Concurrent file updatesSlide 13Slide 14Sample Network File SystemsSlide 16NFS ProtocolNetwork File System ProtocolVersions and variationsSlide 20Slide 21Slide 22Slide 23Slide 24Slide 25Slide 26Slide 27PlatformsSlide 29Slide 30Typical implementationSlide 32Protocol development versus Competing protocolsProtocol development versus competing protocolsSlide 35PresentSlide 37Slide 38AFSAndrew File System (AFS)FeaturesSlide 42Slide 43Slide 44Slide 45Slide 46Slide 47Slide 48ImplementationsSlide 50Available permissionsSlide 52Slide 53Slide 54SMBServer Message Block (SMB)Slide 57HistorySlide 59Slide 60Slide 61Slide 62Slide 63ImplementationSlide 65Slide 66Slide 67Slide 68Slide 69Slide 70Slide 71Slide 72Versions and implementationsSlide 74Slide 75Slide 76Network File SystemsNFSAFSSMBNFS Generalhttp://en.wikipedia.org/wiki/Network_file_systemNetwork File System(NFS)Any computer file system that supports sharing of files and other resources as persistent storage over a computer network First file servers were developed in the 1970s, In 1985 Sun Microsystems created the Network File System (NFS)Became the first widely used distributed file systemOther notable distributed file systemsAndrew File System (AFS)Server Message Block SMBAKA CIFSDistributionDistributionDistributed File System (DFS)Network file system with: Clients, servers, and storage devicesSpread throughout the machines of a distributed system or intranetService activity occurs across the networkSystem has multiple and independent storage devicesSome DFS servers run on dedicated machinesOthers a machine can be both a server and a clientA DFS can be implemented:As part of a distributed operating systemBy a software layer Managing the communication between conventional operating systems and file systemsDistributionDistinctive feature of a DFS:System with many and autonomous clients and serversTransparencyTransparencyA DFS should appear to its users to be a conventional, centralized file systemMultiplicity and dispersion of its servers and storage devices should be invisible Client interface used by programs should not distinguish between local and remote filesThe DFS locates the files and arranges the transport of dataPerformancePerformanceMost important performance measurement of a DFS:Amount of time needed to satisfy service requestsTypical performance constraints:Conventional systems:Disk-access timeSmall amount of CPU-processing timeDFS:Additional overhead due to the distributed structureIncludes:Time to deliver the request to a serverTime to deliver the response to the clientFor each direction, a CPU overhead of running the communication protocol softwarePerformanceThe performance of a DFS can be viewed as one dimension of its transparencyIdeally, it would be comparable to that of a conventional file systemConcurrent file updatesConcurrent file updatesA DFS should allow multiple client processes on multiple machines to access and update the same filesUpdates to the file from one client should not interfere with access and updates from other clientsConcurrency control or locking may be:Built into the file systemProvided by an add-on protocolNetwork File SystemsSample Network File SystemsClient-server file systems9P Amazon S3 Coda Secure File System (SFS) Self-certifying File System (SFS)Sample Network File SystemsDistributed file systemsCeph Andrew File System (AFS), OpenAFS DCE Distributed File SystemRemote file access protocol used with the Distributed Computing EnvironmentGoogle File SystemFile system that is optimized for Google's core storage needsHadoopJava software framework that supports distributed applications running on large clusters of commodity computersKosmos FSHigh performance distributed file system. It is also integrated with hadoop. LustreDistributed file system for large scale cluster computingMicrosoft Distributed File SystemSet of client and server services for organizing many distributed SMB file shares into a distributed file systemGlusterFSPlatform for developing clustering applicationsParallel Virtual File SystemParallel file system that focuses on high performance access to large data setsNFS Protocolhttp://en.wikipedia.org/wiki/Network_File_System_%28protocol%29Network File System ProtocolNetwork file system protocol:Allows a user on a client computer to access files over a network As if the network devices were attached to its local disksOriginally developed by Sun Microsystems in 1984NFS builds on the Open Network Computing Remote Procedure Call (ONC RPC) systemThe Network File System protocol is specified inRFC 1094, RFC 1813, and RFC 3530 (which obsoletes RFC 3010)Versions and variationsVersions and variationsVersion 1Sun used only for in-house experimental purposesDid not release it to the publicVersions and variationsVersion 2 of the protocolOriginally operated entirely over UDPDefined in RFC 1094March 1989Designers meant to keep the protocol statelessLocking (for example) implemented outside of the core protocolVersions and variationsVersion 3 (RFC 1813, June 1995) added:Support for 64-bit file sizes and offsetsHandle files larger than 4 gigabytes (GB) Support for asynchronous writes on the serverImprove write performanceAdditional file attributes in many repliesAvoid the need to re-fetch themREADDIRPLUS operationGet file handles and attributes along with file names when scanning a directoryAssorted other improvementsVersions and variationsAt the introduction of Version 3Vendor support for TCP as a transport-layer protocol began increasingSeveral vendors had already added support for NFS Version 2 with TCP as a transportSun Microsystems added support for TCP as a transport for NFS at the same time it added support for Version 3Using TCP as a transport made using NFS over a WAN more feasibleVersions and variationsVersion 4 became the first version developed with the IETFAfter Sun Microsystems handed over the development of the NFS protocolsVersions and variationsVersion 4 includes:Performance improvementsMandates strong security Introduces a
View Full Document