[Novalug] LVM or Directory with LVM for KVM?
Wed Aug 3 13:11:39 EDT 2011
----- Brander Snaxe <firstname.lastname@example.org> wrote: -----
> I've just set up an Ubuntu Server 10.04 for KVM virtualization. I must
> note that I am new to KVM as well.?
> I am going to build a RAID10 and use it as a PV in an LVM VG. My
> original thought was to build and mount the LV myself and then use
> directories for the storage pool there. I noticed that KVM can use the
> LV directly in its configuration.What's the advantage of doing this?
> ? Brandon
Brandon and company:
In testing and trying out KVM (also on Ubuntu 10.04LTS) we initially had a directory that was where the virtual disks as files were stored. We later converted the virtual disks to logical volumes directly. The advantage here is that with LVM we can grow (or in theory shrink) the virtual disk size as needed. We were also able to streamline our virtual machine roll out with using templates a bit easier by just using "dd" to copy from the template to the new LVM logical volume target.
HTH. Also to note, I receive the NOVALug list in Digest format so pardon any delays in responding in advance.
CEO and President
The Linux ETC Company
10121 Yates Court
Westminster, CO 80031 USA
Please do not print this email unless it is absolutely necessary. Be friendly to the environment by saving paper.
More information about the Novalug