projects
/
gnt-info
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bde166d
)
no output is good
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 18 Nov 2019 09:49:45 +0000
(10:49 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 18 Nov 2019 09:49:45 +0000
(10:49 +0100)
gnt-drbd-check.sh
patch
|
blob
|
history
diff --git
a/gnt-drbd-check.sh
b/gnt-drbd-check.sh
index
8e525f3
..
ac940b0
100755
(executable)
--- 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' | \