
SIZE=`ssh $1 df -gx $2 | grep $2 | awk '{print $2}' | sed -e 's|GB|g|'`
echo ssh $1 vol create ${2}_moving $3 $SIZE
ssh $1 vol create ${2}_moving $3 $SIZE
echo ssh $1 vol restrict ${2}_moving
ssh $1 vol restrict ${2}_moving
echo ssh $1 snapmirror initialize -S $2 ${2}_moving
ssh $1 snapmirror initialize -S $2 ${2}_moving

