
On Tue, Jan 19, 2016 at 02:24:01PM +1100, Russell Coker wrote:
Why do you use LVM inside a virtual machine?
my guess is that it's the default for the RH installer to use lvm. ditto for centos and fedora.
That offers no real benefit and makes things more difficult to debug things as it will be a pain if the VM doesn't boot properly and you need to fix that LV from the Dom0.
the best way to use LVM for VMs is to create an LVM volume on the host machine and tell the VM to use that as its disk. The VM doesn't need to know or care what the underlying disk is, and it certainly shouldn't be running LVM on top of whatever the host gives it. the only time that makes any sense is when you're using a VM to experiment with LVM (or ZFS or btrfs or whatever)....i.e. testing and research, not production use. craig -- craig sanders <cas@taz.net.au>