Вы находитесь на странице: 1из 11

PRESENTED BY: RAVI JYOTI MOTOK. SAMMI KASHYAP.

INTRODUCTION

Sun Network File System??? Network File System is a distributed filesystem protocol Developed by Sun Microsystems in 1984 Allows a user on a client computer to access files over a network in a manner similar to how local storage is accessed.

DESIGN?
NFS was designed ??? To simplify the sharing of filesystem resources in a network of non-homogeneous machines. To provide a way of making remote files available to local programs without having to modify,or even relink those programs. In addition remote file access to be comparable in speed to local file access.

GOALS
Machine and Operating System Independence. Crash Recovery. Transparent Access. Reasonable Performance.

BASIC DESIGN
Its consists of mainly 3 major pieces:1)Protocol. 2)server-side. 3)client-side.

protocol
The NFS protocol is defined in terms of a set of procedures, their arguments and results, and their effects. Mechanism:- Sun RPC Why RPC? Its behave like a local procedure call. Uses:- Stateless protocol Why stateless protocol?

Server-side
what happens in the server side when servicing an NFS request? NFS server is stateless It must commit any modified data to stable storage before returning results. How to implement on Unix based Server? Requests which modify the file system must flush all modified data to disk before returning from the call. Another modification to UNIX necessary for a server implimentation is the addition of a generation number in the inode, and a filesystem id in the superblock. Why ??

Client side
The Sun implementation of the client side provides an interface to NFS which is transparent to application. To make transparent accses to remote files:-locating remote files(it doesnot change the structre of the path names.) HOW? The hostname lookup and file address binding once per filesystem by allowing the client to attach a remote filesystem to a directory with the mount command. ADVANTAGES??

Pathnames traversal
Pathname traversal is done in the kernel by breaking the path into directory components and doing a lookup call through the vnode for each component. Why??? Any component of the path could be a mount point for another filesystem. The mount information is kept above the vnode implementation level. NFS is a stateless

THANK YOU
Thanks to our respected teacher for allowing us to represent on sun NFS.
Also thanks to google & MS for providing a platform, to our parents for providing p.c.

THANKS EVERYONE FOR YOUR KIND ATTENTION..

Вам также может понравиться