Bug 666579

Summary: libguestfs: unknown filesystem /dev/hd{x} (cdrom)
Product: Red Hat Enterprise Linux 6 Reporter: Douglas Schilling Landgraf <dougsland>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 6.0CC: dallan, moshiro, mshao, myamazak, rwu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libguestfs-1.7.17-8.el6 Doc Type: Bug Fix
Doc Text:
If the /etc/fstab of a guest machine contained a reference to a CD-ROM drive (/dev/hdc), both virt-inspector and virt-v2v printed the following harmless warning during inspection or conversion: unknown filesystem /dev/hdc This warning has been suppressed to avoid confusion, and should no longer appear even if the guest machine refers to CD-ROM drives in /etc/fstab.
Story Points: ---
Clone Of:
: 711964 (view as bug list) Environment:
Last Closed: 2011-05-19 11:45:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 711964    
Attachments:
Description Flags
patch none

Description Douglas Schilling Landgraf 2011-01-01 02:15:53 UTC
Description of problem:

virt-v2v reports the following error messages when it migrates from a
RHEL4.8 VMware ESX's guest.

How reproducible:

Version-Release number of selected component (if applicable):
# virt-v2v -ic esx://192.168.1.10/?no_verify=1 -op default --bridge br0 rhel48_34
** HEAD https://192.168.1.10/folder/rhel48_34/rhel48_34-flat.vmdk?dcPath=ha-datacenter&dsName=local_disk ==> 401 Unauthorized
** HEAD https://192.168.1.10/folder/rhel48_34/rhel48_34-flat.vmdk?dcPath=ha-datacenter&dsName=local_disk ==> 200 OK
** GET https://192.168.1.10/folder/rhel48_34/rhel48_34-flat.vmdk?dcPath=ha-datacenter&dsName=local_disk ==> 200 OK (1275s)
unknown filesystem /dev/hdc
virt-v2v: rhel48_34 configured with virtio drivers

NOTE:
/dev/hdc is my entry in fstab for CDROM

fstab:
/dev/hdc                /media/cdrom            auto    pamconsole,exec,noauto,managed 0 0

Actual results:
virt-v2v reporting error

Comment 1 Douglas Schilling Landgraf 2011-01-01 02:41:21 UTC
Created attachment 471308 [details]
patch

Attached proposed patch to upstream.

Comment 3 Rita Wu 2011-02-16 08:24:16 UTC
Verified it with the following pkgs:

libguestfs-1.7.17-12.el6.x86_64 
libguestfs-*-1.7.17-12.el6.x86_64
virt-v2v-0.7.1-3.el6.x86_64


No 'unknown filesystem /dev/hdc' warning any more,  details as below:

1.fstab entry:
/dev/hdc                /media/cdrom            auto   
pamconsole,exec,noauto,managed 0 0

2.# virt-v2v -ic xen+ssh://10.66.72.123 -o rhev -osd 10.66.90.115:/vol/v2vrwu1/xen_export rhel4u8-32b-hv-raw-intel --bridge rhevm
rhel4u8-32b-hv-raw-intel.img:   1% [=                    *           ]5m01s Leftrhel4u8-32b-hv-raw-intel.img: 100% [=================================]D 0h06m00s
virt-v2v: rhel4u8-32b-hv-raw-intel configured with virtio drivers

Comment 6 Laura Bailey 2011-04-19 06:48:40 UTC
If the /etc/fstab of a guest machine contained a reference to a CD-ROM drive (/dev/hdc), both virt-inspector and virt-v2v printed the following harmless warning during inspection or conversion:
   unknown filesystem /dev/hdc
This warning has been suppressed to avoid confusion, and should no longer appear even if the guest machine refers to CD-ROM drives in /etc/fstab.

Comment 7 Laura Bailey 2011-04-19 06:48:40 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
If the /etc/fstab of a guest machine contained a reference to a CD-ROM drive (/dev/hdc), both virt-inspector and virt-v2v printed the following harmless warning during inspection or conversion:

   unknown filesystem /dev/hdc

This warning has been suppressed to avoid confusion, and should no longer appear even if the guest machine refers to CD-ROM drives in /etc/fstab.

Comment 8 Richard W.M. Jones 2011-04-19 07:45:55 UTC
This is fine, thanks.

Comment 9 errata-xmlrpc 2011-05-19 11:45:55 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0586.html

Comment 10 errata-xmlrpc 2011-05-19 13:10:48 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0586.html