z/OS UNIX System Services Planning
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for setting up the automount facility

z/OS UNIX System Services Planning
GA32-0884-00

Before you begin: You must have a superuser ID in order to activate the automount facility from the shell.

Perform the following steps to set up the automount facility.

  1. Add the following statement to your BPXPRMxx parmlib member.
    FILESYSTYPE TYPE(AUTOMNT) ENTRYPOINT(BPXTAMD)

    _______________________________________________________________

  2. Either restart z/OS® UNIX or issue SETOMVS RESET to activate the automount PFS.

    _______________________________________________________________

  3. Customize the /etc/auto.master file. For more information about the /etc/auto.master file, see /etc/auto.master and z/OS UNIX System Services Command Reference.

    Guideline: You should set the permission bits so that the file is protected from write by ordinary users like other system files. The files should be owned by UID(0) and have write permission only for owner, such as 644. If the group for the file is a properly restricted group, 664 would also be appropriate.

    _______________________________________________________________

  4. Customize the MapName file

    _______________________________________________________________

  5. Activate the automount facility from the shell. You can activate the automount facility in one of two ways. Base your choice on your particular situation.
    Table 1. Ways of starting the automount facility. This table lists the ways of starting the automount facility (from the shell and during initialization)
    If you want to start the automount facility . . . Then . . .
    From the shell

    Rule: You must have a superuser ID.

    Issue:
    /usr/sbin/automount

    If the automount facility was started from the shell, do not submit any job that requires an automount-managed file system until automount initialization is complete.

    During initialization Add the following lines to the /etc/rc file:
    # Start the automount facility
    /usr/sbin/automount

    If the automount has been started from /etc/rc, do not submit jobs that require an automount-managed file system before you get the message BPXI004I, or they may fail due to allocation errors.

    Tips: When working with the automount facility:
    • If arguments are not used, the automount facility reads the /etc/auto.master and MapName files. If a master file name is specified, that file name is used instead of /etc/auto.master.
    • The -s option only checks the syntax of the configuration file. The automount policy is not activated.
    • Use the -a option if you want to append the new automount policy to the original policy instead of replacing it. It is mutually exclusive with the -q option.

    _______________________________________________________________

When you are done, you have activated the automount facility.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014