On Tue, 7 Jun 2005, Ed Ravin wrote:

On Tue, Jun 07, 2005 at 12:44:02PM +0200, Gilles LAMIRAL wrote:
Is there any montior existing, where i can check if
the nfs service is correct running on my servers ??

Here is the monitor :

ls -d /mnt/dir1/* /mnt/dir2/* ...

where dir1 dir2 ... are the mounted mount points.
And this is not a joke :-)

But if the NFS server is not responding, that command will hang.  Forever.

not if you mount the nfs volumes you are monitoring with the "soft"
option, which will make syscalls accessing those volumes return with an
i/o error if there is a major timeout. i've done this before and it works
well.

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to