1 / 18

Network File System (NFS) in AIX System

Network File System (NFS) in AIX System. COSC513 Operation Systems Instructor: Prof. Anvari Yuan Ma SID: 105820. What is AIX System. Top-rated UNIX operating system Developed by IBM Used for enterprise class server

duaa
Download Presentation

Network File System (NFS) in AIX System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network File System (NFS) in AIX System COSC513 Operation Systems Instructor: Prof. Anvari Yuan Ma SID: 105820

  2. What is AIX System • Top-rated UNIX operating system • Developed by IBM • Used for enterprise class server • An integrated operating environment that supports both 32- and 64-bit RS/6000 systems in their full range of scalability while providing improved software features for both environments.

  3. AIX5L: the future of UNIX • Many advanced technology • System Scalability • e-business and Network Performance • Security, etc. • Strong Linux affinity • Added support for both Power and IA-64 processor based platforms.

  4. What is a File System • A file system is a hierarchical structure (file tree) of files and directories. • This file tree uses directories to organize data and programs into groups, allowing the management of several directories and files at one time. • Some tasks are performed more efficiently on a file system than on each directory within the file system.

  5. What is a Network File System? • a distributed file system • allows users to access files and directories located on remote computers and treat those files and directories as if they were local

  6. NFS Services • NFS provides its services through a client-server relationship. • Once a client mounts a file system that a server exports, the client can access the individual server files (access to exported directories can be restricted to specific clients).

  7. Major NFS Services • Mount service • Remote File access • Remote execution service • Remote System Statistics service • Remote User Listing service • Boot Parameters service • Remote Wall service • PC authentication service

  8. NFS Access Control Lists (ACL) Support • handled by an Remote Procedure Call program that exchanges information about ACLs between clients and servers • when a client first attempts to access a remote mounted file system, it attempts to contact the ACL RPC program on the server. • commands can be used on the client to manipulate ACLs • aclget -- aclput -- acledit

  9. Cache File System Support • The Cache File System is a general-purpose file system caching mechanism that improves NFS server performance and scalability by reducing server and network load. • As a layered file system, Cache File System provides the ability to cache one file system on another. • In an NFS environment, Cache File System increases the client-per-server ratio, reduces server and network loads and improves performance for clients on slow links.

  10. Cache File System Tasks • Set up a cache • Specifying Files for Mounting • Modify the cache • Display cache information • Remove a cache • Check File System Integrity

  11. NFS Mapped File Support • NFS mapped file support allows programs on a client to access a file as though it were memory. • Using the shmat subroutine,users can map areas of a file into their address space. As a program reads and writes into this region of memory, the file is read into memory from the server or updated as needed on the server.

  12. NFS Mapped File Support • Mapping files over NFS is limited in three ways: • Files do not share information well between clients. • Changes to a file on one client using a mapped file are not seen on another client. • Locking and unlocking regions of a file is not an effective way to coordinate data between clients

  13. NFS Mapped File Support • If an NFS file is to be used for data sharing between programs on different clients, record locking and the regular read and write subroutines should be used. • Multiple programs on the same client can share data effectively using a mapped file. Advisory record locking can coordinate updates to the file on the client, provided that the entire file is locked. • Multiple clients can share data-using mapped files only if the data never changes, as in a static database.

  14. Implementation of NFS • NFS can be implemented on a wide variety of machine types, operating systems, and network architectures. NFS achieves this independence using the Remote Procedure Call (RPC) protocol.

  15. Remote Procedure Call (RPC) Protocol • RPC is a library of procedures which allow one process (the client process) to direct another process (the server process) to execute procedure calls as if the client process had executed the calls in its own address space. • NFS is an RPC application. • RPC uses data types defined by the eXternal Data Representation (XDR) protocol.

  16. eXternal Data Representation (XDR) Protocol • XDR is the specification for a standard representation of various data types. • By using XDR, a program can be confident that it is interpreting data correctly, even if the source of the data in a machine with a completely different architecture. • Most programs do not use XDR internally, rather, they use the data type representation specific to the architecture of the computer on which the program is running.

  17. Controlling NFS • The NFS are controlled by the System Resource Controller (SRC). • Change Command Line Arguments for Daemons Controlled by SRC • Start the NFS Daemons at System Startup • Start the NFS Daemons • Stop the NFS Daemons • Get the Current Status of the NFS Daemons

  18. Thank you very much! Nov 25, 2000

More Related