Operating System - HP-UX
1833829 Members
1950 Online
110063 Solutions
New Discussion

Reboot hangs at NFS client subsystem

 
Veerendra
Occasional Advisor

Reboot hangs at NFS client subsystem

Hi,

I have HP-UX machine that runs 11.11 OS.I rebooted the machine and the machine hanged at NFS client subsystem.I can do ctrl+\ and start the machine.But i should mount a few file systems shared by another machine which is nfs server.That server is up and running.Another machine which is mounting the same File systems has no problem.Any hints why this is happenning?

Regards,
Kumar
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: Reboot hangs at NFS client subsystem

Kumar,

Check /etc/rc.log to see if it reveals any errors related to the NFS client startup.

This sometimes can be a hostname resolution issue. Have you changed anything in this regard recently?


Pete

Pete
Veerendra
Occasional Advisor

Re: Reboot hangs at NFS client subsystem

Hi Pete,

Please find the message in rc.log.

mounting remote NFS file systems ...
nfs mount: get_fh: :: RPC: Rpcbind failure - RPC: Timed out

I commented out this line in fstab and tried to restart nfs services but it is not comming to command prompt.

Regards,
Veerendra
Peter Godron
Honored Contributor

Re: Reboot hangs at NFS client subsystem

Kumar,
check in /etc/rc.log that all prior startups have worked.
Sometimes the startup scripts get in the wrong order like trying to mount all file systems (inclusive NFS) before starting up the NFS Client.
I assume once the machine is up and you do a mount -a , the NFS disks appear?
Veerendra
Occasional Advisor

Re: Reboot hangs at NFS client subsystem

Hi Peter,

mount -a hangs.

Regards,
Kumar
Luk Vandenbussche
Honored Contributor

Re: Reboot hangs at NFS client subsystem

Hi,

Start you server without NFS client
NFS_CLIENT=0 in /etc/rc.config.d/netconf

When is is up try

showmount -e nfsserver

telnet nfsserver

Probably something is wrong with your network config
Lolupee
Regular Advisor

Re: Reboot hangs at NFS client subsystem

restart your client and server scrritpts. The remount the client manually and see if it does. If it does not, then there may be a name resolution issue or the server from the source should be restarted.

Mind you, this might affect all other clients that you say might be working now. if the server could be restarted please, try it.
Lolupee
Regular Advisor

Re: Reboot hangs at NFS client subsystem

Please, cut and paste nfsstat -m command output. Tis might also give a clue
baiju_3
Esteemed Contributor

Re: Reboot hangs at NFS client subsystem

Hi Veerendra ,

Its not a good practice to add NFS file systems in fstab.

Make sure NFS CLIENT is set to 1 in /etc/rc.config.d/nfsconf file .

NFS_CLIENT=1

do /sbin/init.d/nfs.core stop
/sbin/init.d/nfs.client stop

and start it back uding start option .

Also check the /etc/exports on NFS Server and make sure your entries are correct

Try this option in /etc/exports
/your_fileystem -anon=2,root=NFSClinet servername


Do exportfs -a

and try to mount it again .

Also can try to mount on to a different directory than the original on the client.

thx,
bl.






Good things Just Got better (Plz,not stolen from advertisement -:) )
V. Nyga
Honored Contributor

Re: Reboot hangs at NFS client subsystem

Hi,

check lan speed of your card and the switch.

Half-duplex versus full-duplex mismatch often show such a behavior.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***