Operating System - HP-UX
1819805 Members
2877 Online
109607 Solutions
New Discussion юеВ

NFS client and server startup delays during boot

 
SOLVED
Go to solution
Terry Washington_1
Frequent Advisor

NFS client and server startup delays during boot

I just moved a B1000 running HP-UX 11.11 to a new network. When the system is booting it sits at "start nfs client subsystem" for about 10 minutes. It then gets to "start nfs server subsystem" and sits for 10 more minutes. After these delays the CDE screen appears and users can login. The workstation is an NIS client, is exporting a single directory and mounting several NFS shares. What could be causing this?
4 REPLIES 4
Sanjay_6
Honored Contributor

Re: NFS client and server startup delays during boot

Hi Terry,

Maybe this link from itrc would help you diagnose your nfs problems,

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000072156899

The itrc doc id is KBAN00000261.

Is the switch and the network port configured for 100 full duplex / fixed if this systems is using a 100FD lan port.

Hope this helps.

Regds
Jan Sladky
Trusted Contributor

Re: NFS client and server startup delays during boot

Hi Terry,

I guess (and hope ;-) the problem is going to be much simplier. Problem with nfs client subsystem points to unaccesible file system on server side. Have you checked /etc/exports on the server, is correct new IP there ?

And what about DNS, is the same ? Does B1000 export directories via name or IP ? Check these issues

When system is booting and is "frozen" for 10 min you can enter ctrl+\ and jump the "frozen" daemon and speed up your troubleshooting

post the results

br Jan


GSM, Intelligent Networks, UNIX
Dave Olker
Neighborhood Moderator
Solution

Re: NFS client and server startup delays during boot

Hi Terry,

Once the system is booted, can you try the following:

# /sbin/init.d/nfs.server stop
# /sbin/init.d/nfs.client stop

These commands should stop all NFS services. Then try these commands:

# /sbin/init.d/nfs.client start

Does issuing this command manually also hang for 10 minutes? If so, I would edit the /sbin/init.d/nfs.client script and add the line "set -x" near the top of the script and then run the command again to see where the script is hanging. My guess is it is hanging when attempting to mount NFS filesystems listed in your /etc/fstab file.

If that is the case, I'd try issuing those NFS mount commands manually and see if they also hang.

Once you've figured out why the nfs.client script is hanging, you can try the same tactic with the nfs.server script.

Hope this helps,

Dave


I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
Terry Washington_1
Frequent Advisor

Re: NFS client and server startup delays during boot

Thanks for all of the responses. Dave's idea of adding set -x to the startup scripts pointed me right to the problem. The system was attempting to NFS mount shares on a server that was no longer on the network. I removed the offending entries from /etc/fstab and all is well.