/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/ganeti/migrate-lxc/2-lxc-mount-point.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 310 by dpavlin, Sun Jan 12 13:39:28 2014 UTC revision 311 by dpavlin, Tue Jan 28 18:33:58 2014 UTC
# Line 11  ssh_lxc() { Line 11  ssh_lxc() {
11  ssh_lxc /etc/init.d/lxc-watchdog status  ssh_lxc /etc/init.d/lxc-watchdog status
12  mnt=`cat $host/lxc-watchdog | grep ^$host | awk '{ print $4 }' | tee $host/mnt`  mnt=`cat $host/lxc-watchdog | grep ^$host | awk '{ print $4 }' | tee $host/mnt`
13  ssh_lxc df -h $mnt  ssh_lxc df -h $mnt
14  size=`cat $host/df | grep /mnt/rt | awk '{ print $2 }' | tee $host/size`  size=`cat $host/df | grep /mnt/$host | awk '{ print $2 }' | tee $host/size`
15    

Legend:
Removed from v.310  
changed lines
  Added in v.311

  ViewVC Help
Powered by ViewVC 1.1.26