Questions about storage

Cole Robinson crobinso at redhat.com
Wed Aug 9 13:12:29 UTC 2023


On 8/8/23 9:47 PM, Blake McBride wrote:
> Greetings,
> 
> I make pretty regular use of VMs on my Linux box.  I've used KVM,
> VirtualBox, and VMWare.  I'd like to make more use of KVM/virt-manager
> but I am having a number of problems using virt-manager.  I'm pretty
> sure the problem is me.  I just need to understand it more.  I think all
> of my questions are about storage.  I hope someone on this list can help
> me.  Here are my questions:
> 
> 1.  Is there any way of escaping the whole "storage pool" concept?  I'd
> like to just specify a directory to put my files in rather than needing
> to creating a pool each time.  Likewise for the ISO I use to gen the
> system.  I want to be able to simply browse my disk and select the ISO.
> 

In the storage browser UI, there's the button to `browse local` which
opens a native file browser, which kinda escapes the pool UI. But no,
there's not a simple UI way to create a new directory for each VM.
virt-manager and libvirt convention is to place all VM disk images in
one directory. Straying from that requires more config and UI clicks

> 2.  I need all of the files associated with a particular VM in one
> independent place so I can back it up and move it as a unit easily. 
> This includes the cow2 file and all of the VM meta information files. 
>

No unfortunately this is not easy to do with libvirt. XML and disk
images are never in the same place, UEFI variables are somewhere else,
TPM state is yet another place, etc. And I don't know of a tool that
simplifies moving all these details. Maybe some virt-v2v invocation can
do it.

- Cole


More information about the virt-tools-list mailing list