Bug 1144138 - virt-inspector fails on FreeBSD 9.3 guest
Summary: virt-inspector fails on FreeBSD 9.3 guest
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-18 18:43 UTC by Richard W.M. Jones
Modified: 2025-10-17 12:52 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-10-17 00:10:15 UTC
Embargoed:


Attachments (Terms of Use)
virt-inspector -v -x output (66.73 KB, text/plain)
2014-09-18 18:43 UTC, Richard W.M. Jones
no flags Details

Description Richard W.M. Jones 2014-09-18 18:43:47 UTC
Created attachment 939009 [details]
virt-inspector -v -x output

Description of problem:

libguestfs fails to detect a FreeBSD 9.3 guest.  The error is:

mount -o ro /dev/sda2 /sysroot/
[    3.353926] You didn't specify the type of your ufs filesystem
[    3.353926] 
[    3.353926] mount -t ufs -o ufstype=sun|sunx86|44bsd|ufs2|5xbsd|old|hp|nextstep|nextstep-cd|openstep ...
[    3.353926] 
[    3.353926] >>>WARNING<<< Wrong ufstype may corrupt your filesystem, default is ufstype=old
[    3.362149] ufs_read_super: bad magic number
mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

guestfsd: error: /dev/sda2 on / (options: 'ro'): mount: wrong fs type, bad option, bad superblock on /dev/sda2,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

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

1.24.5

Steps to Reproduce:
1. virt-inspector -v -x -a freebsd93

See attachment for output.

Additional info:

Reported by Assaf Gordon
https://www.redhat.com/archives/libguestfs/2014-September/msg00115.html

Comment 1 Richard W.M. Jones 2017-10-05 15:37:05 UTC
Patch posted:
https://www.redhat.com/archives/libguestfs/2017-October/msg00042.html

Comment 3 Richard W.M. Jones 2021-03-29 11:01:18 UTC
Patch was rejected upstream, and there was no further work on this, however
patches are welcome.

Comment 4 Red Hat Bugzilla 2025-10-17 00:10:15 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.

Comment 5 Alasdair Kergon 2025-10-17 12:52:13 UTC
Reopening because Virtualization Tools has not been discontinued.


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