9 ssh -k root@xh8.mit.edu 'pvdisplay -m /dev/mapper/22*' > $tempfile
10 while read -u 3 machine; do
12 disk=/dev/xenvg/d_${machine}_hda
13 if grep -q $disk $tempfile; then
14 host=`ssh -k root@xvm.mit.edu remctl xvm-remote control $machine listhost`
16 scp do-move.sh root@$host:/tmp/
17 ssh root@$host chmod +x /tmp/do-move.sh
18 ssh root@$host /tmp/do-move.sh $machine