Summary

Summary

In this chapter, we have examined how to use the automounter to automatically mount commonly used remote drives, such as /home, to provide centralized file-sharing services on Solaris. We explored the uses of master, direct, and indirect maps, and reviewed some issues between NIS+ and the automounter.

Questions

1. 

Which of the following programs must be running to support automount?

  1. automountd, in.rpld

  2. automountd, rpcbind

  3. nfsd, rpcbind

  4. rpcbind, in.rpld

 B. The automountd requires RPC support (rpcbind) to run.

2. 

Which of the following is an example of the indirect map that is responsible for the directories in /home for the use pwatters on server toga?

  1. pwatters auto toga:/home/pwatters

  2. toga:/ home/pwatters pwatters auto

  3. ALL toga:/home/pwatters

  4. pwatters toga:/home/pwatters

 D. Home directories are automounted under /home in this configuration.

3. 

Which of the following is an example of the direct map that is responsible for mapping the directory /games/adventure/misc on toga to /usr/local/games?

  1. /usr/local/games toga:/games/adventure/misc

  2. /usr/local/* ALL toga:/games/adventure/misc

  3. /usr/local/games ALL toga:/games/*

  4. /usr/local/games -rw toga:/games/adventure/misc

 A. The local mount point is always specified first.

4. 

What command is used to check whether the automount daemon is running?

  1. /bin/ps -ef | grep automountd

  2. automountchk

  3. chkautomount

  4. autofsstat

 A. The ps command must be used-there is no special checking command.

5. 

What command is used to start the automounter?

  1. /etc/init.d/automount start

  2. /etc/init.d/autofs start

  3. /etc/init.d/automounter start

  4. /sbin/autofs

 B.  /etc/init.d/autofs is the default startup file.

Answers

1. 

B. The automountd requires RPC support (rpcbind) to run.

2. 

D. Home directories are automounted under /home in this configuration.

3. 

A. The local mount point is always specified first.

4. 

A. The ps command must be used—there is no special checking command.

5. 

B. /etc/init.d/autofs is the default startup file.



Part I: Solaris 9 Operating Environment, Exam I