Mounting a VM's disk image is complex
Bug #307730 reported by
Evan Broder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
XVM |
New
|
Undecided
|
Unassigned |
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.
To post a comment you must log in.
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?