Network File System: Nisarg Patel 08BCE056 Guided By: Mr. Tejas Mehta
Network File System: Nisarg Patel 08BCE056 Guided By: Mr. Tejas Mehta
Nisarg Patel
08BCE056
Guided by:
Mr. Tejas Mehta
TOPICS COVERED
1. NFS – Introduction
2. Versions of NFS
3. Overview of NFSv2, NFSv3, NFSv4
4. NFSv2 detailed study
INTRODUCTION
Network File System (NFS) is a network file system protocol
originally developed by Sun Microsystems in 1984, allowing a
user on a client computer to access files over a network in a
manner similar to how local storage is accessed.
Thus a user can access their files & directories stored on the
server.
REMOTE PROCEDURE CALL
Remote Procedure Call specification provides a procedure-
oriented interface to remote services.
Transport Protocols
NFS currently is supported on UDP/IP.
Port Number
The NFS protocol currently uses the UDP port number 2049.
Size Of XDR Structures
These are the sizes, given in decimal bytes, of various XDR structures
used in the protocol:
enum stat;
The stat type is returned with every procedure’s results & it
indicates the state of procedure.
enum ftype;
The enumeration ftype gives the type of a file.
struct timeval
The timeval structure is used to pass the time and date
information.
struct fattr
The fattr structure contains the attributes of a file like -"type“,
"nlink“, "uid“, "gid“, "size“, "rdev“, etc.
struct sattr
The sattr structure contains the file attributes which can be set
from the client.
BASIC DATA TYPES
struct diropargs
The diropargs structure is used in directory operations.
CONCLUSIONS
TOPICS THAT WILL BE COVERED