Would it make sense to have a <disk device='logicalvolume'>?

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

 



The questions is this:
1) would it make sense to expose a block device in the host to be
mapped like a "logical volume" in the guest (I mean: not actually
exposing it as a physical disk)?
2) Is there any existing hypervisor that could be made to work like this?

Example scenario:

Just suppose I have a real logical volume in the *host* called
"/dev/mapper/domain0_home" (it could be any block device, but this
would be a real useful configuration). Consider the following
hypothetical libvirt configuration:

<disk type='block' device='lv'>
      <source dev='/dev/mapper/domain0_home'/>
      <target dev='home' bus='virtio'/>
</disk>

'lv' stands for "logicavolume". The block device should be
automatically mapped in the *guest* as "/dev/mapper/home", and not
advertised as a physical disk.

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]