- NFS
The Sun Network File System (NFS)
- An implementation and a specification of a software
system for accessing remote files across LANs .
- The implementation is part of the Solaris and SunOS
- perating systems running on Sun workstations using an
unreliable datagram protocol (UDP/IP protocol and Ethernet), which has become widely accepted throughout the computer industry, known as NFS.
- The mechanism allows a computer to run a server that
makes some or all of its files available for remote access, and allow applications on other computers to access those files.
Remote File Access Vs Transfer
- When an application accesses a file that resides on a
remote machine, the program’s operating system invokes client software that contacts a file server on the remote machine and performs the requested operations
- n the file.
- Unlike a file transfer, the application’s system does not
retrieve or store an entire file at once; instead, it requests transfer of one small block of data at a time.
Basics
- Interconnected workstations viewed as a set of
independent machines with independent file systems, which allows sharing among these file systems in a transparent manner.
- Subject to access-rights, potentially any file system (or
directory within a file system), can be mounted remotely
- n top of any local directory.
- A remote directory is mounted over a local file system
- director. The mounted directory looks like an integral
sub tree of the local file system, replacing the sub tree descending from the local directory.
Basics (Cont)
- The NFS specification distinguishes between the
services provided by a mount mechanism and the actual remote-file-access services.
- Specification of the remote directory for the mount
- peration is nontransparent; the host name of the remote
directory has to be provided.
- Files in the remote directory can then be accessed in a
transparent manner.
File Access Among Heterogeneous Computers
- NFS is designed to operate in a heterogeneous
environment of different machines, operating systems, and network architectures; the NFS specifications independent of these media.
- Because a remote file access service connects two
machines, it must handle differences in the way the client and server systems name files, denote paths through directories, and store information about files.
- This independence is achieved through the use of RPC