/[sysadmin-cookbook]/recepies/ganeti/migrate-lxc/4-lxc-snapshot-create.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/4-lxc-snapshot-create.sh

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

revision 306 by dpavlin, Sun Jan 12 13:39:28 2014 UTC revision 312 by dpavlin, Wed Jan 29 00:13:48 2014 UTC
# Line 3  Line 3 
3  . ./0-host.sh  . ./0-host.sh
4  . ./0-lxc.sh  . ./0-lxc.sh
5    
6  ssh_lxc lvcreate -s -L 1G -n ganeti-$host /dev/raid5/$host  ssh_lxc lvcreate -s -L 1G -n ganeti-$host /dev/$lxc_vg/$host
7  ssh_lxc mkdir /tmp/ganeti-$host  ssh_lxc mkdir /tmp/ganeti-$host
8  ssh_lxc mount /dev/raid5/ganeti-$host /tmp/ganeti-$host  ssh_lxc mount /dev/$lxc_vg/ganeti-$host /tmp/ganeti-$host
9  ssh_lxc df -h /tmp/ganeti-$host  ssh_lxc df -h /tmp/ganeti-$host
10    

Legend:
Removed from v.306  
changed lines
  Added in v.312

  ViewVC Help
Powered by ViewVC 1.1.26