Re: Using LV as guest disk on KVM

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

 



On Nov 19, 2014, at 12:28 AM, Cole Robinson <crobinso@xxxxxxxxxx> wrote:
> 
> On 11/18/2014 06:26 PM, Richard Taubo wrote:
>> Hi!
>> 
>> I have created a guest disk like this:
>> a) lvcreate -L 30G -n Vm1 VolGroup
>> b) mkfs.xfs /dev/VolGroup/Vm1
>> 
>> And installed the VM like this:
>> c) virt-install --name=vm1.mydomain.com \
>> 	--disk path=/dev/VolGroup/Vm1 \
>> 	… rest_of_arguments
>> 
>> Questions:
>> 1) 	Is b) above necessary, or are a) and c) sufficient?
>> 
>> 2) 	If b) is necessary, should /dev/VolGroup/Vm1 be mounted while installing and
>> 	while running the VM?
>> 
> 
> If you're passing OS install media to virt-install, the b) is not required: the os installer will format the disk, same as it would on a physical machine.

Thanks!

1) So no mounting on host then?
2) Is it possible to take a LVM snapshot of the guest from the host (and make a backup)?

Again, thanks for any info! :-)


Best regards,
Richard Taubo

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux