Displaying 1 result from an estimated 1 matches for "lvm_guest_snapshot".
2011 Nov 29
2
Transfer of LVM based guests
...one host to another where the
guest uses LVM as its storage. As a preliminary cut I
have cobbled the following together from various sources
located through Google searches:
1. Log in to vmhost_old
2. Shutdown guest
3. Create an LVM snapshot of the guest volume
3.a. lvcreate -s -L 300m -n LVM_guest_snapshot guest_lv
4. Convert snapshot to a file image
4.a dd if=/dev/vhost/LVM_guest_snapshot
of=/tmp/fs/LVM_guest_snapshot.img bs=4096
5. Remove the original snapshot
5.a lvremove /dev/vhost/LVM_guest_snapshot
6. Move the snapshot image file to the new KVM host. Note
that for large vm...