Re: Questions about HUP'ing nfsd

2007-10-13 Thread Derek Ragona

At 10:25 AM 10/12/2007, Michael Smith wrote:

Hello All:

We have a NAS that's running 6.2 with nfds, mountd, rpc_statd,
rpcbind and rpc_lockd.  Last night we had a scenario where nfs
clients, once disconnected, couldn't reconnect to the NAS, reporting
RPC timeouts.

We attempted to restart all of the services above in various orders,
but we were not able to get the clients reconnected.  We ultimately
rebooted the NAS server and all was well.

My question is, in troubleshooting this sort of thing, is there a
proper sequence for stopping and restarting the various services
associated with nfs?   Any hints would be greatly appreciated.

Regards,

Mike


I wouldn't know the right order, and even if you did stop and start 
everything in the right order, it may not fix the problem.  Your problem 
could be in the network stack, or someplace else.  That is why I usually:

"If in doubt, reboot it out"

Your users already couldn't connect correctly, so no real harm in a reboot.

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions about HUP'ing nfsd

2007-10-12 Thread James
On Fri, 2007-10-12 at 08:25 -0700, Michael Smith wrote:

> Hello All:
> 
> We have a NAS that's running 6.2 with nfds, mountd, rpc_statd,  
> rpcbind and rpc_lockd.  Last night we had a scenario where nfs  
> clients, once disconnected, couldn't reconnect to the NAS, reporting  
> RPC timeouts.
> 

I've had RPC timeouts before. Turned out my NFS was misconfigured - I
had a weird flag in /etc/rc.conf that was preventing mountd from
loading. Could be someone made an undocumented change - you may want to
check it.




> My question is, in troubleshooting this sort of thing, is there a  
> proper sequence for stopping and restarting the various services  
> associated with nfs?   Any hints would be greatly appreciated.
> 



Linux usually likes an exportfs -r, service portmap restart, service nfs 
restart. I've usually gone for a 
similar thing in FreeBSD. Something like:


/etc/rc.d/mountd onereload
/etc/rc.d/nfs restart



I think that does it all. Otherwise, there's always shutdown NOW and
then a ctrl-d. If you're not sshing in, of course.

James



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Questions about HUP'ing nfsd

2007-10-12 Thread Michael Smith

Hello All:

We have a NAS that's running 6.2 with nfds, mountd, rpc_statd,  
rpcbind and rpc_lockd.  Last night we had a scenario where nfs  
clients, once disconnected, couldn't reconnect to the NAS, reporting  
RPC timeouts.


We attempted to restart all of the services above in various orders,  
but we were not able to get the clients reconnected.  We ultimately  
rebooted the NAS server and all was well.


My question is, in troubleshooting this sort of thing, is there a  
proper sequence for stopping and restarting the various services  
associated with nfs?   Any hints would be greatly appreciated.


Regards,

Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"