On Mon, 14 Feb 2000, Matt Herbert wrote:
> Hey all sorry for the long post,
Better it be long then incomplete.
> At any rate, something strange happened to NFS, that was keeping me from
> mounting any file systems on my other machines.
I don't suppose you have any log file output from the client and server that
might explain why you couldn't mount any filesystems?
> So I telneted in (on account of it not having a monitor) and figured I
> could probably just stop the nfs services and restart them. I stopped and
> started them via the /etc/rc.d/init.d/nfs script.
NFS is a complex, multi-layered beastie. You don't say what distribution or
kernel you are using, but on Red Hat Linux 6.1, you have to do:
/etc/rc.d/init.d/netfs stop # unmount network file systems
/etc/rc.d/init.d/nfslock stop # shutdown NFS locking/status layer
/etc/rc.d/init.d/nfs stop # shutdown main NFS layer
/etc/rc.d/init.d/portmap stop # shutdown RPC portmapper
sync # you can't sync too often
/etc/rc.d/init.d/portmap start
/etc/rc.d/init.d/nfs start
/etc/rc.d/init.d/nfslock start
/etc/rc.d/init.d/netfs start
> I looked up the ports via netstat, and there was nothing unusual.
What netstat command did you use? I recommend
netstat -aptuw
The "a" selects all ports currently open, the "p" displays the program that
has the port open, and the "tuw" limits the display to TCP, UDP, and "raw"
sockets (in other words, it filters out all those UNIX sockets from X and the
like).
> So I went hog wild, and stoped the nfs services, and the portmaper, and
> unloaded all the kernel modules relating to NFS (nfsd lockd sunrpc),
> figuring that would definitely do it ... nope.
Perhaps you did it out of order? I'm not entirely sure what happens in that
case.
Did you try a "ps aux" to see what was running?
--
Ben Scott
[EMAIL PROTECTED]
**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************