beautypg.com

HP StoreAll Storage User Manual

Page 41

background image

2.

Set permissions on the script file to make it executable. For example, for a curl script, enter
the following:

chmod +x /etc/auto.curl

3.

Edit the /etc/auto.master file to map a base automount mountpoint to the script edited
in step 1. For example, to map the base mountpoint /cluster to a curl script, enter the
following:

/cluster /etc/auto.curl --timeout=60

timeout

indicates the number of seconds that a connection remains idle before it is

automatically disconnected. The mountpoint name could be the same as a key name, but this
is not recommended.

4.

Copy the edited files to the /etc directory on the clients.

5.

On each client, restart autofs and enable it for future use:

/etc/init.d/autofs restart
chkconfig autofs on

6.

Confirm that autofs recognizes the primary keys that you entered in auto.master:

/etc/init.d/autofs status

7.

Confirm that files are visible at the mountpoint by listing the directory by base mountpoint and
key name. For example, for the key name ifs1_rw:

ls -l /ibrix/ifs1_rw

Setting up NFS clients

41