'guestmount' cannot mount (handle) devices labeled by "by-id".

Solution Unverified - Updated -

Issue

Mounting Cerrain Virtual Machines filesystem using 'guestmount' results below error:

libguestfs: error: mount_ro: mount_ro_stub: /dev/disk/by-id/ata-QEMU_HARDDISK_QM00002-part1: No such file or directory
guestmount: some filesystems could not be mounted (ignored)

on vm /etc/fstab has following entery :

/dev/disk/by-id/ata-QEMU-HARDDISK_QM00002-part1 /mnt/test ext3 defaults 0 0

Environment

Guest : OpenSuse,Suse
Host:Red Hat Enterprise Linux 5/6
Virtualization Tools (libguestfs)

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