Operating System - HP-UX
1833052 Members
2564 Online
110049 Solutions
New Discussion

system hangs at "mount file systems......"

 
SOLVED
Go to solution
heath seals_1
New Member

system hangs at "mount file systems......"

greetings-

i have two hpux 9000/800 ( one 11.00 and one 11i ) systems that are hanging during system start-up at "mount file systems.......". i can boot into single user mode and mount all the filesystems with no problem. any clue as to why it might be hanging during a system boot?

thanks and take care.

-hath
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: system hangs at "mount file systems......"

Two quickies to look at.

look at /etc/fstab

Are you doing any nfs mounts? If so, are the machines up.

nfs core won't come up if there are typos in /etc/rc.config.d/netconf

check that for typos, and possbily restore it.

look back at /etc/fstab for erorrs there.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ian Dennison_1
Honored Contributor

Re: system hangs at "mount file systems......"

Check for NFS Mounts in /etc/fstab,...

Also, can you resolve your hostname using 'nslookup [hostname]'?

Share and Enjoy! Ian
Building a dumber user
Pete Randall
Outstanding Contributor

Re: system hangs at "mount file systems......"

Heath,

First, have they ever worked properly or is this a new install? Maybe something along the lines of hostname resolution could be holding things up.


Pete

Pete
Sunil Sharma_1
Honored Contributor

Re: system hangs at "mount file systems......"

Hi,
i think you have some NFS mount in you fstab and it's not able to reach your NFS server.
just # NFS entries and try to boot.

Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
heath seals_1
New Member

Re: system hangs at "mount file systems......"

i should have included this in my original message, but there are no NFS mounts on this box. they are all local filesytems.

also, this is not a new install. they were both rebooted in early may and came up fine.

thanks for your continued help!

-heath
Stuart Abramson_2
Honored Contributor
Solution

Re: system hangs at "mount file systems......"

Look in /etc/rc.log (and /etc/rc.log.old) and check for messages from this script below:

Mount file systems
Output from "/sbin/rc1.d/S100localmount start":
----------------------------
checking quotas

Mounting of file systems is done by:

/sbin/init.d/localmount

which is called in the boot sequence by the script above (it's a link).

It checks quotas. Are your quotas set up correctly?

It checks /etc/fstab.

Put a set -x in the localmount script, reboot and see what happens. Point log at a file. Put these lines in boot script:

LOG=/mount.log
exec 2>${LOG}
exec >&2

Never leave any scratch files in /etc/rc.config.d/. They get executed.
Check for files there since last boot.

Check for any new files or changes in the boot sequence files, like /etc/inittab (run level), /sbin/init.d/, /sbin/rcX.d/, etc. Did you install any new products? like Legato Networker. That messes (incorrectly) with boot start.

Pete Randall
Outstanding Contributor

Re: system hangs at "mount file systems......"

Heath,

OK, so they used to work but now they don't. The obvious question is what changed in the meantime. Any hostname alterations, ip-address changes, DNS issues?


Pete

Pete
heath seals_1
New Member

Re: system hangs at "mount file systems......"

greetings!

after adding "set -x" to the localmount script, i got some useful output. localmount hangs while checking quotas. although quotas are not enabled on this box, i use ldap for centralized authentication so ldap is listed in nsswitch.conf. i removed ldap from nsswitch and it boots fine. im hoping i can configure nsswitch.conf to ignore ldap if its unavailable. im thinking this will solve my problem.

any thoughts?

-heath
Pete Randall
Outstanding Contributor

Re: system hangs at "mount file systems......"

Heath,

Sorry, unfamiliar with ldap but glad you found the problem.


Pete

Pete