<div dir="ltr"><br><div>Before I start writing code that might be reinventing the wheel... does anyone have a favourite method for monitoring the presence of an NFS mount?  </div><div><br></div><div>check_disk is fine if the NFS volume is mounted and something goes wrong with it (like the NFS server going down) but gives a false positive if the volume simply isn't mounted.  In that case it gives an OK result based on the closest enclosing volume of the mount point.</div><div><br></div><div>For example, if I'm using check_disk to monitor an NFS volume mounted at /mnt/foo, it will correctly fail if the remote NFS server stops responding, but will report success if I 'umount /mnt/foo'.  In that case it'll report OK and give the stats for the root ("/") volume.</div><div><br></div><div><br></div></div>