1833016 Members
2859 Online
110048 Solutions
New Discussion

Re: error with NFS

 
Michael Allmer
Frequent Advisor

error with NFS

This morning I came in and found that one of my NFS servers was not repsonding.
I attempted to stop and restart the NFS Server.
From this I recieved the error that /etc/xtab cannot be open or locked.

I then ran fuser on /etc/xtab and killed the process associated with it, which was me running exportfs, just a moment before.

Now I show that NFS is runing , and even from some clients shoumount -e greta shows the correct list of exported file systems.

Any other suggestions?
7 REPLIES 7
George Liu_4
Trusted Contributor

Re: error with NFS

which OS and post ps -ef too
Geoff Wild
Honored Contributor

Re: error with NFS

If it is still not responding...then...

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

ps -ef |grep nfs

anything? try to kill them...

All gone?

Restart nfs:

/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start


Still not working?

Alas, you may have to reboot :(

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Michael Allmer
Frequent Advisor

Re: error with NFS

OS HPUX 11.00

I am going to stop the NFS client, server and core and the bring them bakc up after check to see if all NFS processes are closed.
Dave Olker
Neighborhood Moderator

Re: error with NFS

Hi Mike,

If the clients are able to issue a "showmount -e" and get the correct list of exported filesystems, what are the clients not able to do? Actual NFS requests? The showmount command would only talk to the portmapper and rpc.mountd on the server so the nfsd daemons might still be blocked.

Please explain what works and what doesn't. Also explain if the clients are using UDP or TCP to access the NFS filesystems? Are you able to successfully terminate and restart the nfsd daemons? Do all the clients hang with this server or only a subset of clients?

Regards,

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
Steven E. Protter
Exalted Contributor

Re: error with NFS

Shalom,

In addition, check /var/adm/syslog/syslog.log on the server and look for error messages to help find the cause of the problem.

If an 11.00 server lost networking due to the switch losing power or a cable disconnect it may not be able to recover and may require a reboot.

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
Michael Allmer
Frequent Advisor

Re: error with NFS

This ended up due to a disk starting to fail.
Thank you for everyone's thoughts.
Michael Allmer
Frequent Advisor

Re: error with NFS

Thank to everyone