/[vz-tools]
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Revision 23


Jump to revision: Previous Next
Author: dpavlin
Date: Thu Oct 4 16:58:01 2007 UTC (16 years, 5 months ago)
Changed paths: 1
Log Message:
Create new logical volume for each clone of virtual machine.
That allows snapshots to actually works, because otherwise,
we would have to write content twice:

1. new cloned copy on disk
2. in snapshot (so that we see "old" copy)

This requires snapshot partition at least as big as filesystem
of cloned machine. It also slows down cloning. 

The root of the problem is usage of vg logical volume both as source
(which we want to have snapshot of to achieve consistent copy)
and destination for new cloned fs. Creating new logical volume per
VE cloned allows easy management and update also.

But, this might be optional (and there is fallback in the codei
if there is no lvm for vz data) if we want to create another
persistant clone (TODO).

If possible, we will try to use ssync binary (which sadly
isn't packaged for Debian) because it's much faster than
rsync.

Changed paths

Path Details
Directorytrunk/vz-clone.pl modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.26