diff options
author | Rafi Khardalian <rafi@metacloud.com> | 2013-02-10 06:27:54 +0000 |
---|---|---|
committer | Rafi Khardalian <rafi@metacloud.com> | 2013-02-10 08:21:11 +0000 |
commit | 8fa717563707c1802345cff2c5d602c1f011dd3c (patch) | |
tree | 14b27e1cb64e0093a9ae8c86760cfd9107669172 /nova/utils.py | |
parent | 65ba31366c2c13ca70342200865b7b5f6624f2e3 (diff) | |
download | nova-8fa717563707c1802345cff2c5d602c1f011dd3c.tar.gz nova-8fa717563707c1802345cff2c5d602c1f011dd3c.tar.xz nova-8fa717563707c1802345cff2c5d602c1f011dd3c.zip |
Libvirt: Implement snapshots for LVM-backed roots
Uses the built-in LVM snapshotting mechanism to create a new
snapshot, use qemu-img to extract the full root into an image file,
then delete the snapshot volume. Although we typically zero deleted
LVM volumes manually, this is not necessary for snapshots, as LVM
handles it for us (per the documentation).
Change-Id: I82f21488671ffa3be3d0feba73ff631fa2a51ec0
Fixes: Bug 1120809
Flags: DocImpact
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions