using an lvm for kvm vm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a simple way to directly install a vm on an lvm (or proably
seperate LVM's for root and swap)?   For example something like:

lvcreate -L 10G -n testvm_root vg_myvg
lvcreate -L 1G -n testvm_swap

Then somehow setup the VM to be able to directly install and boot the vm
from these LV's.  How do I do this?


Could you then pause the virtual machine and safely take an LVM
snapshot, continue the VM and then mount the snapshot on the host and do
a backup?

This would be for CentOS/Redhat 6.

Thanks,
Nataraj

_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt


[Index of Archives]     [CentOS Users]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]

  Powered by Linux