X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=gnt-drbd-check.sh;h=ac940b0fffb7b0fdc09656c60eb74db165a46c78;hb=0c93539e382dc062a659390cebf32a835dbbe02d;hp=8e525f3539387d190d7b381decfd8df7b80e58d4;hpb=bde166d705ec1e1b562b6484e9237a5f428a543e;p=gnt-info 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' | \