Académique Documents
Professionnel Documents
Culture Documents
Presented By:
Chandan Padalkar
Introduction
Platforms
NFS
Other
Version 1
Sun used only for in-house experimental purposes Did not release it to the public
Version 2
Defined
Originally Designers
Version 3
Defined Support Handle Did
Version 4
RFC
Mandates
Introduces
NFS protocol designed without states. Thats why its very easy to recover server or client, because there are no states for them.
NFS designed to support UNIX file system semantic, but protocol design can be adopted to support any file system semantic NFS protocol design doesnt depend on transport protocols. Its used with UDP by default, but still can be used with TCP protocol.
NFS Architecture
Client computer Server computer
UNIX kernel
Operations on remote files Virtual file system
NFS client
NFS server
Communication
NFS Protocol
RPC request
CREATE
LINK LOOKUP MKDIR READADDR REMOVE RENAME RMDIR SYMLINK
Action
Creates (or truncates) a file in the directory
Creates a hard link Looks up a file in the directory Makes a directory Reads the contents of a directory Removes a file in the directory Renames a file in the directory Removes a directory Creates a symbolic link
RPC request
GETATTR SETATTR LOOKUP ACCESS
Action
Get file attribute Set file attribute File name search Check access
READ
WRITE CREATE REMOVE RENAME
Read file
Write to the file Create file Remove file Rename file
NFS Advantages
Excellent e.g. of a simple, robust, highperformance distributed service Hardware and software operating system heterogeneity
Security
Share a CD-ROM or other media with any number of clients Central NFS server on which all user home directories are stored
Sharing the directory
THANK YOU