Exercises

   


9.1 Describe the functions done by an NFS client.

9.2 Describe the functions done by an NFS server.

9.3 Describe three benefits that NFS derives from being stateless.

9.4 Give two reasons why TCP is a better protocol to use than is UDP for handling the NFS RPC protocol.

9.5 Describe the contents of a file handle in FreeBSD. How is a file handle used?

9.6 When is a new generation number assigned to a file? What purpose does the generation number serve?

9.7 Describe the three ways that an NFS client can handle filesystem-access attempts when its server crashes or otherwise becomes unreachable.

9.8 Give two reasons why leases are given a limited lifetime.

9.9 What is a callback? When is it used?

9.10 A server may issue three types of leases: noncaching, read caching, and write caching. Describe what a client can do with each of these leases.

9.11 Describe how an NQNFS server recovers after a crash.

*9.12 Suppose that there is a client that supports both versions 2 and 3 of the NFS protocol running on both the TCP and UDP protocols, but a server that supports only version 2 of NFS running on UDP. Show the protocol negotiation between the client and server, assuming that the client prefers to run using version 3 of NFS using TCP.

**9.13 Assume that leases have an unlimited lifetime. Design a system for recovering the lease state after a client or server crash.


   
 


The Design and Implementation of the FreeBSD Operating System
The Design and Implementation of the FreeBSD Operating System
ISBN: 0201702452
EAN: 2147483647
Year: 2003
Pages: 183

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net