'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 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.