Red Hat Bugzilla – Bug 666579
libguestfs: unknown filesystem /dev/hd{x} (cdrom)
Last modified: 2015-09-27 22:13:04 EDT
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
Created attachment 471308 [details] patch Attached proposed patch to upstream.
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
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.
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.
This is fine, thanks.
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