Re: [CentOS-virt] using an lvm for kvm vm

2011-02-13 Thread Dennis Jacobfeuerborn
On 02/13/2011 09:27 AM, Nataraj wrote: 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

Re: [CentOS-virt] using an lvm for kvm vm

2011-02-13 Thread Nataraj
On 02/13/2011 12:18 PM, Kenni Lund wrote: 2011/2/13 Dennis Jacobfeuerborn denni...@conversis.de: On 02/13/2011 09:27 AM, Nataraj wrote: 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: Use a volume group as a

Re: [CentOS-virt] using an lvm for kvm vm

2011-02-13 Thread Nataraj
On 02/13/2011 10:21 AM, Dennis Jacobfeuerborn wrote: 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? Probably not. If you pause the guest then the filesystem on it might be in an inconsistent

Re: [CentOS-virt] using an lvm for kvm vm

2011-02-13 Thread Nataraj
On 02/13/2011 02:30 PM, Nataraj wrote: On 02/13/2011 10:21 AM, Dennis Jacobfeuerborn wrote: 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? Probably not. If you pause the guest then the