RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1072926 - libguestfs refuse to mount the root partition
Summary: libguestfs refuse to mount the root partition
Keywords:
Status: CLOSED DUPLICATE of bug 1072898
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libguestfs
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: pre-dev-freeze
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-05 11:59 UTC by Ulhas Surse
Modified: 2019-04-28 09:44 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-06 10:16:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ulhas Surse 2014-03-05 11:59:03 UTC
- Description of problem:
Libguestfs starts successfully with the backing file. Now the most severe issue is an inability to mount LV with a “/” filesystem.

- Version-Release number of selected component (if applicable):
libguestfs

- Actual results:
><fs> list-filesystems 
libguestfs: trace: list_filesystems 
libguestfs: trace: list_devices 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
guestfsd: main_loop: proc 7 (list_devices) took 0.00 seconds 
libguestfs: recv_from_daemon: 56 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 07 | 00 00 00 01 | 00 12 34 00 | ... 
libguestfs: trace: list_devices = ["/dev/vda"] 
libguestfs: trace: list_partitions 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
guestfsd: main_loop: proc 8 (list_partitions) took 0.00 seconds 
libguestfs: recv_from_daemon: 76 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 08 | 00 00 00 01 | 00 12 34 01 | ... 
libguestfs: trace: list_partitions = ["/dev/vda1", "/dev/vda2"] 
libguestfs: trace: list_md_devices 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 01 2c | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
guestfsd: main_loop: proc 300 (list_md_devices) took 0.00 seconds 
libguestfs: recv_from_daemon: 44 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 2c | 00 00 00 01 | 00 12 34 02 | ... 
libguestfs: trace: list_md_devices = [] 
libguestfs: trace: part_to_dev "/dev/vda1" 
libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 01 10 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x38 
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds 
libguestfs: recv_from_daemon: 52 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 10 | 00 00 00 01 | 00 12 34 03 | ... 
libguestfs: trace: part_to_dev = "/dev/vda" 
libguestfs: trace: part_to_dev "/dev/vda2" 
libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 01 10 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x38 
guestfsd: main_loop: proc 272 (part_to_dev) took 0.00 seconds 
libguestfs: recv_from_daemon: 52 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 10 | 00 00 00 01 | 00 12 34 04 | ... 
libguestfs: trace: part_to_dev = "/dev/vda" 
libguestfs: trace: vfs_type "/dev/vda1" 
libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x38 
blkid -c /dev/null -o value -s TYPE /dev/vda1 
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 05 | ... 
libguestfs: trace: vfs_type = "ext2" 
libguestfs: trace: vfs_type "/dev/vda2" 
libguestfs: send_to_daemon: 60 bytes: 00 00 00 38 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds 
guestfsd: main_loop: new request, len 0x38 
blkid -c /dev/null -o value -s TYPE /dev/vda2 
libguestfs: recv_from_daemon: 56 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 06 | ... 
libguestfs: trace: vfs_type = "LVM2_member" 
libguestfs: trace: available "lvm2" 
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds 
guestfsd: main_loop: new request, len 0x34 
guestfsd: main_loop: proc 216 (available) took 0.00 seconds 
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 d8 | 00 00 00 01 | 00 12 34 07 | ... 
libguestfs: trace: available = 0 
libguestfs: trace: lvs 
libguestfs: send_to_daemon: 44 bytes: 00 00 00 28 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0b | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x28 
lvm lvs -o vg_name,lv_name --noheadings --separator / 
  Couldn't find device with uuid bmkRlF-QnXW-JOp9-CcG6-nIXO-vZ81-guDc7d. 
guestfsd: main_loop: proc 11 (lvs) took 0.01 seconds 
libguestfs: recv_from_daemon: 100 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 0b | 00 00 00 01 | 00 12 34 08 | ... 
libguestfs: trace: lvs = ["/dev/vg_kojit/lv_root", "/dev/vg_kojit/lv_swap"] 
libguestfs: trace: vfs_type "/dev/vg_kojit/lv_root" 
libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x44 
/dev/vg_kojit/lv_root: No such file or directory 
guestfsd: error: vfs_type_stub: /dev/vg_kojit/lv_root: No such file or directory 
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds 
libguestfs: recv_from_daemon: 120 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 09 | ... 
libguestfs: trace: vfs_type = NULL (error) 
libguestfs: trace: vfs_type "/dev/vg_kojit/lv_swap" 
libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 00 | ... 
guestfsd: main_loop: new request, len 0x44 
blkid -c /dev/null -o value -s TYPE /dev/vg_kojit/lv_swap 
libguestfs: recv_from_daemon: 48 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 c6 | 00 00 00 01 | 00 12 34 0a | ... 
libguestfs: trace: vfs_type = "swap" 
libguestfs: trace: list_filesystems = ["/dev/vda1", "ext2", "/dev/vg_kojit/lv_root", "unknown", "/dev/vg_kojit/lv_swap", "swap"] 
/dev/vda1: ext2 
/dev/vg_kojit/lv_root: unknown 
/dev/vg_kojit/lv_swap: swap 
><fs> 
><fs> 
><fs> 
><fs> mount /dev/vg_kojit/lv_root / 
libguestfs: trace: mount "/dev/vg_kojit/lv_root" "/" 
libguestfs: send_to_daemon: 80 bytes: 00 00 00 4c | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 01 | 00 00 00 00 | ... 
guestfsd: main_loop: proc 198 (vfs_type) took 0.00 seconds 
guestfsd: main_loop: new request, len 0x4c 
/dev/vg_kojit/lv_root: No such file or directory 
guestfsd: error: mount_stub: /dev/vg_kojit/lv_root: No such file or directory 
guestfsd: main_loop: proc 1 (mount) took 0.00 seconds 
libguestfs: recv_from_daemon: 116 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 01 | 00 00 00 01 | 00 12 34 0b | ... 
libguestfs: trace: mount = -1 (error) 
libguestfs: error: mount: mount_stub: /dev/vg_kojit/lv_root: No such file or directory 
><fs> 

Expected results:
No error while mounting root partition

Additional info:


Note You need to log in before you can comment on or make changes to this bug.