Mounting a VM's disk image is complex

Bug #307730 reported by Evan Broder on 2008-12-13
Affects Status Importance Assigned to Milestone

Bug Description

We frequently need to mount a VM's disk image on one of the dom0s. Currently, we do this by running kpartx -a, then mounting the resulting partition block device. Then we have to umount and kpartx -d when we're done.

Since we frequently have to do this for the sysvms, and especially the autoinstaller VM, we should write a script to do all of the setup and teardown for us.

Geoffrey Thomas (geofft) wrote :

What about... wait for it... wait for it... a FUSE filesystem that exposes all the partitions as symlinks to the /dev/mapper nodes created on demand?

On the other hand, what's wrong with just running kpartx -a on all block devices and leaving the partition device nodes there?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers