From 0d4ed04312ff0915ef00393cc2360a1dfeb7fadb Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 18 Nov 2019 10:49:45 +0100 Subject: [PATCH] no output is good --- gnt-drbd-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnt-drbd-check.sh b/gnt-drbd-check.sh index 8e525f3..ac940b0 100755 --- a/gnt-drbd-check.sh +++ b/gnt-drbd-check.sh @@ -1,6 +1,6 @@ #!/bin/sh -e -gnt-cluster command -M ls -l /var/run/ganeti/instance-disks/ | awk '{ print $1 $12 " " $10 }' | tr ':' ' ' | tee /dev/shm/node.drbd.instance.disk +gnt-cluster command -M ls -l /var/run/ganeti/instance-disks/ | awk '{ print $1 $12 " " $10 }' | tr ':' ' ' > /dev/shm/node.drbd.instance.disk gnt-cluster command -M cat /proc/drbd | grep cs: | grep -v Connected | tee /dev/shm/drbd.check | \ sed 's/: / /g' | \ -- 2.20.1