Operating System - HP-UX
1829693 Members
8638 Online
109992 Solutions
New Discussion

Automount Failure on boot

 
tom lesniewski
Occasional Contributor

Automount Failure on boot

I have a C3000 system running HP-UX 10.20. On boot during the NFS client startup it fails. /etc/rc.log show that the init process for automount returned "Failure Code 2". Also I note that there are two Automount processes running. The original started by init and a child automount process to the original one.

Any ideas would be appreciated.
6 REPLIES 6
Berlene Herren
Honored Contributor

Re: Automount Failure on boot

Is there a process using the file it wants to mount? If so, kill that process.

Berlene
http://www.mindspring.com/~bkherren/dobes/index.htm
tom lesniewski
Occasional Contributor

Re: Automount Failure on boot

Doubtful. This is at boot time. Also this system was ignited using a golden image from another C3000 that is currently running fine.
Rene Sesink
Occasional Contributor

Re: Automount Failure on boot

Hi,

I'm having the exact same symptoms on one of our systems.

-The system was installed using Ignite
-Several other systems were installed using the exact same Ignite installation
-2 automounter processes are launched upon boot.
-Failure code 2 is present
(what does failure code 2 stand for ??)


S.K. Chan
Honored Contributor

Re: Automount Failure on boot

This error will appear if you create the golden image with IgniteUX while automounter is running.

Animesh Chakraborty
Honored Contributor

Re: Automount Failure on boot

Hi,
Error code 2 means no such file or directory
For unix error code refer /usr/include/sys/errno.h file.
Did you take a backup?

Re: Automount Failure on boot

Solved!!

We noticed /home was hard mounted in the fstab:

cat /etc/fstab
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol5 /tmp vxfs delaylog 0 2
#/dev/vg00/lvol6 /home vxfs delaylog 0 2
/dev/vg00/lvol7 /opt vxfs delaylog 0 2
/dev/vg00/lvol8 /usr vxfs delaylog 0 2
/dev/vg00/lvol9 /var vxfs delaylog 0 2
/dev/vg00/lvol4 /mnt/spool hfs defaults 0 2

The automounter uses /home in the automount process:

ll -d /user
lrwxr-xr-x 1 root sys 4 Sep 5 13:31 /user -> home

ll -d /home
-> link to "/tmp_mnt/user/
-> link to "/tmp_mnt/user/
-> link to "/tmp_mnt/user/
...

Solution: Make sure /home is NOT hard mounted during boot (=> comment out the line in the /etc/fstab file)