[libvirt] shared LVM volume group, should I use it?

Erik Sjölund erik.sjolund at gmail.com
Mon Jun 27 17:31:04 UTC 2011


Hi,
Assume I want to have the root file system of the virtualization host
server in an LVM volume on the local hard drive.

Is it ok to have that LVM volume in the same LVM volume group that I
will later use as a Storage Pool for libvirt?

I already found a question about this:
http://serverfault.com/questions/200728/lvm-volume-group-shared-between-kvm-libvirt-host-and-guests-is-this-a-bad-idea

and I also found this statement at opensuse.org:
http://doc.opensuse.org/products/opensuse/openSUSE/opensuse-kvm/sec.libvirt.stornet.storage.html

"Security Considerations

In order to avoid data loss or data corruption, do not attempt to use
resources such as LVM volume groups, iSCSI targets, etc. that are used
to build storage pools on the VM Host Server, as well. "

The first source of information indicates it should be okay to share
the LVM volume group but the second source of information doesn't
indicate that.
What do you think?
cheers,
Erik Sjölund




More information about the libvir-list mailing list