Using the host's LVM to manage virtual disks

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

i am envisioning a scenario that a fellow sysadmin is employing using
xen, where the host is configured with LVM.  basically, one volume group
spans the physical disk.  then, various logical volumes are created for
the host and (Linux) guest OSes.  this makes it easy to resize logical
volumes should it be needed.

is a setup like this possible with libvirt?  the best i can think up, so
far, is to create a new logical disk, vm1, and pass that as an argument
to the -f option of virt-install.  then, during the installation i can
setup LVM within the guest.  not sure if this would even work if i need
to expand the volume size.  first i would expand the size of vm1.  then,
within the vm1 OS i would expand the size of the root partition.

i would like to not have to use this second layer of LVM.  for example,
on the host OS, i would create two logical volumes: vm1-root and
vm1-swap, and these are what vm1 would use for root and swap.  then, if
needed, i can just increase the size of vm1-root, etc.

thanks

-----BEGIN PGP SIGNATURE-----

iEYEAREIAAYFAkvSJ08ACgkQXhfCJNu98qDAoQCfbdN84rlxmFJCwHnsaHXdv0l4
juUAmwfE2Te+l07VfkuJYUI2/us83F5e
=AmQ+
-----END PGP SIGNATURE-----


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux