Linux Virtualization

Using LV snapshots to manage multiple versions of an OS

As I was trying to figure out how to copy a LVM volume, I came across this. Interesting way of using LVM snapshots to manage multiple copies of the same OS.

Rather than copying VMs I snapshot them. I create a template system,
create a snapshot of it, then modify the VMs config so it uses the
snapshot as its disk (so the original is unmodified). If I need another
copy of the VM its only a matter of creating another snapshot of the
template LV, then copying and modifying the config. I usually set the
extent size low so that modifications within the VMs don't chew up lots
of space too.

source: archives.free.net

Leave a Reply

Your email address will not be published. Required fields are marked *