On Sun, 2013-04-21 at 12:32 -0400, Randy Barlow wrote:
> LVM gives a lot of
> flexibility in managing virtual machines, so I'd highly recommend it.

I should mention one specific advantage to using LVM over file-based
images: I believe you will find that LVM performs better. This is due to
avoiding the duplicated filesystem overhead that would occur in the
file-based image approach. If the guest wants to fsync(), for example,
both filesystems need to be involved (the guest's, and the host's). With
LVM, you still have the host processing the LVM bits of that process,
but at least the host's filesystem doesn't need to be involved.

Of course, giving the guest it's own raw block device (a disk, or a
partition) would also have this advantage, so here I'm mostly just
comparing LVM to the "easy" file-backed disk image approach.

-- 
Randy Barlow


Reply via email to