X-Git-Url: http://git.rot13.org/?p=sysadmin-cookbook;a=blobdiff_plain;f=recepies%2Fganeti%2Fmigrate-lxc%2F2-lxc-mount-point.sh;h=d4dfc6b1a906fbdba8ac3495897fd5ec033e0b42;hp=b91e5ec0c19721f257fa9c174a65bc3495398b78;hb=7e5364d2eaa0ce8b39464a4005d9b0881da0dbac;hpb=5c9ca3c4e9832d446c9f1c4972e077e3894172c5 diff --git a/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh b/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh index b91e5ec..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 +ssh_lxc df -P -h $mnt size=`cat $host/df | grep /mnt/$host | awk '{ print $2 }' | tee $host/size`