X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=recepies%2Fganeti%2Fmigrate-lxc%2F2-lxc-mount-point.sh;h=d4dfc6b1a906fbdba8ac3495897fd5ec033e0b42;hb=7e5364d2eaa0ce8b39464a4005d9b0881da0dbac;hp=ebb3a21efe907e246dcf657dcb7ad3fea45579f1;hpb=d66d46a6eda2bb96f7ad70bde822496c5e8654c3;p=sysadmin-cookbook diff --git a/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh b/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh index ebb3a21..d4dfc6b 100755 --- a/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh +++ b/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh @@ -10,6 +10,6 @@ ssh_lxc() { ssh_lxc /etc/init.d/lxc-watchdog status mnt=`cat $host/lxc-watchdog | grep ^$host | awk '{ print $4 }' | tee $host/mnt` -ssh_lxc df -h $mnt -size=`cat $host/df | grep /mnt/rt | awk '{ print $2 }' | tee $host/size` +ssh_lxc df -P -h $mnt +size=`cat $host/df | grep /mnt/$host | awk '{ print $2 }' | tee $host/size`