converting lvm based Virtual Machine to qcow image.
ahmed.kamal at canonical.com
Wed Jan 5 09:58:15 UTC 2011
I wouldn't really do it that way. The reason being, running applications
like a database server, might have unflushed data, i.e. the on-disk data
structures would not be fully consistent. I don't really like taking a
backup in that state (called crash consistent state). If "possible" it's
always safer to power off before snapshotting, otherwise, at least make
sure your applications have flushed all data to disk (mysql can flush
and lock tables to do that, but other apps behave differently)
On 01/05/2011 11:54 AM, Nikolai K. Bochev wrote:
> I would suggest the following :
> 1. Pause the virtual machine ( with virsh for example )
> 2. Take a snapshot of the logical volume.
> 3. Unpause the virtual machine
> 4. Convert the snaposhot ot qcow2.
> I'm doing something similar with a python script.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-server