One of the problems with hard NFS mounts is that anything you do underneath the mount point will cause a hang if the server is unavailable and sometimes not even a SIGKILL can get rid of the process. One way to handle this might be to fork a child process, which performs the check and quits. As long as the child doesn't exit you know the mount point is down.
In reply to Re^3: How to monitor an NFS mount with perl
by bluto
in thread How to monitor an NFS mount with perl
by w3ntp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |