I am trying to write a script for such failure scenarios.
In a scenario where maybe, if remote connection is lost,
df waits for the remote server to respond (looks like df is hanging). I know I could do a timeout after waiting for some seconds but is there any other way to check that
df is hanging and kill it.
Also can I find out which mount point is causing the problem? So that I could try to
mount it again.