1856587 Members
6222 Online
104113 Solutions
New Discussion

Re: automount

 
Tracie Davis
Contributor

automount

Can someone please help me with the command or steps to automount a file system.

I want to automount /net on a hpux 10.20 box (Tabby).

What I want is: when I type /net/ppi_2 on that box, I want another hpux box (ppi_2) directories /, /disk0 and /ppi_2 to mount under /tmp_mnt/net/ppi_2 on Tabby.
This should create a link under /net on Tabby.

I hope everyone can understand my question!!!

ex: bdf should look something like this on Tabby

Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 3346049 2828786 182658 94% /

/dev/vg01/lvol8 17528139 4004 15771321 0% /home2

ppi_2:/ 1650769 1326581 159111 89% /tmp_mnt/net/ppi_2

ppi_2:/disk0 8699070 5952540 1876623 76% /tmp_mnt/net/ppi_2/disk0

ppi_2:/ppi_2 2051743 1696228 150340 92% /tmp_mnt/net/ppi_2/ppi_p2



2 REPLIES 2
Brian M. Fisher
Honored Contributor

Re: automount

You should be able to fully configure your Automount via SAM.

Brian
<*(((>< er
Perception IS Reality
Alan Riggs
Honored Contributor

Re: automount

Files you need to touch are
Client box:
/etc/auto_direct
/etc/auto_master
Server box
/etc/exports

Simple example:
# /etc/auto_direct file
# local mount point mount options remote server:directory#
/net/ppi_2 -soft,nosuid,noac ppi_2:/

# /etc/auto_master file
# Local mount point Map name Mount Options
/- /etc/auto_direct
/net -hosts -soft,noac

# /etc/exports file
/ -rw=Tabby


Make sure you run exportfs on the server and that nfs services are running on both boxes. (core & client on client box, core & server on server box, at the least).