Univention Bugzilla – Bug 36247
Access VM files directly - libguestfs
Last modified: 2023-06-28 10:51:52 CEST
A customer requires access to some files from the image of a virtual machine. This currently needs some work-arounds using qemu-img create -f qcow2 -o backing_file=/nfs/___.img -o backing_fmt=raw /var/tmp/overlay.qcow2 qemu-nbd -t -f qcow2 /var/tmp/overlay.qcow2 & # NO -r pid=$! nbd-client localhost 10809 /dev/nbd0 mount -t ext3 /dev/nbd0p1 /floppy # NO -o ro ... nbd-client -d /dev/nbd0 kill $pid It would be a unique selling point for UCS it a user could access such files easily from UVMM, for example by using <http://libguestfs.org/> with works with both Windows and Linux gest virtual machines.
There is a Customer ID set so I set the flag "Enterprise Customer affected".
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.