summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_node_health_check.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/reproducible_node_health_check.sh b/bin/reproducible_node_health_check.sh
index ea4266dd..2e13f4d7 100755
--- a/bin/reproducible_node_health_check.sh
+++ b/bin/reproducible_node_health_check.sh
@@ -75,6 +75,16 @@ elif [ "$(readlink /run/shm)" != "/dev/shm" ] ; then
fi
#
+# check for hanging mounts
+#
+echo "$(date -u) - testing whether running 'mount' takes forever..."
+TIMEOUT=$(timeout 15 mount)
+if [ $TIMEOUT -ne 0 ] ; then
+ echo "$(date -u) - running 'mount' takes forever, giving up."
+ exit 1
+fi
+
+#
# check for correct MTU
#
echo "$(date -u) - testing whether the network interfaces MTU is 1500..."