2 gnt-cluster command -M ls -l /var/run/ganeti/instance-disks/ | awk '{ print $1 $12 " " $10 }' | tr ':' ' ' | tee /dev/shm/node.drbd.instance.disk
4 gnt-cluster command -M cat /proc/drbd | grep cs: | grep -v Connected | tee /dev/shm/drbd.check | \
6 while read node drbd status ; do
7 echo "$node $drbd [$status]"
8 grep "$node.*drbd$drbd " /dev/shm/node.drbd.instance.disk || echo "ERROR: can't find $node $drbd"