/[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

Annotation of /recepies/ganeti/migrate-lxc/4-lxc-snapshot-create.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 312 - (hide annotations)
Wed Jan 29 00:13:48 2014 UTC (10 years, 4 months ago) by dpavlin
File MIME type: application/x-sh
File size: 226 byte(s)
tweaks after migration of narada

1 dpavlin 306 #!/bin/sh -x
2    
3     . ./0-host.sh
4     . ./0-lxc.sh
5    
6 dpavlin 312 ssh_lxc lvcreate -s -L 1G -n ganeti-$host /dev/$lxc_vg/$host
7 dpavlin 306 ssh_lxc mkdir /tmp/ganeti-$host
8 dpavlin 312 ssh_lxc mount /dev/$lxc_vg/ganeti-$host /tmp/ganeti-$host
9 dpavlin 306 ssh_lxc df -h /tmp/ganeti-$host
10    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26