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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content