The guestmount mount fails with "No such file or directory" error

Solution Verified - Updated -

Issue

Mounting instance via guestmount fails with following message

libguestfs: command: run: qemu-img
libguestfs: command: run: \ create
libguestfs: command: run: \ -f qcow2
libguestfs: command: run: \ -o backing_file=/var/tmp/.guestfs-0/appliance.d/root,backing_fmt=raw
libguestfs: command: run: \ /tmp/libguestfsl6cF2k/overlay1
qemu-img: /tmp/libguestfsl6cF2k/overlay1: Could not open '/var/tmp/.guestfs-0/appliance.d/root': No such file or directory
libguestfs: error: qemu-img: /tmp/libguestfsl6cF2k/overlay1: qemu-img exited with error status 1, see debug messages above

Environment

  • Red Hat Enterprise Linux 7
  • guestmount

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.