Red Hat Bugzilla – Bug 592195
Filesystem corrupt after converting rhel4.8-32bit and 64bit xenhvm
Last modified: 2013-07-02 21:39:16 EDT
Created attachment 413967 [details]
Description of problem:
Before converting, both rhel4.8-32bit and 64bit xenhvm boot successfully. The guest has only 1 kernel:
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
title Red Hat Enterprise Linux AS (2.6.9-89.EL)
kernel /vmlinuz-2.6.9-89.EL ro root=/dev/VolGroup00/LogVol00 rhgb quiet
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Convert rhel4.8 guest
LIBGUESTFS_TRACE=1 virt-v2v -f /usr/share/doc/virt-v2v-0.5.3/virt-v2v.conf -i libvirtxml -o rhev -osd nfs:/export /tmp/xenfv-rhel48-64.img.xml 2>&1 >xenfv-rhel48-64_conversion.log
virt-v2v: WARNING: No mapping found for bridge interface xenbr0 in config file. The converted guest may not start until its network interface is updated.
2.Import the VM into "Virtual Machine" tab
Filesystem works well.
Created attachment 413968 [details]
Screen Shot after checking filesystem
Created attachment 413969 [details]
log from LIBGUESTFS_TRACE=1 during conversion
Created attachment 413970 [details]
log from virt-inspect before conversion
Not nice .. My first suspect would be that virt-v2v is not
getting to do a sync, but looking at the attachment in comment 2
it seems it _is_ doing a sync (and umount).
Could you please attach the contents of /etc/fstab? From the trace it doesn't look like the conversion changes it, so before or after conversion should be fine.
Created attachment 413989 [details]
Screen shot of the "/etc/fstab, fdisk -l and lspci" after conversion
Prior to conversion, /etc/fstab:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
It cannot be reproduced in v2v-0.5.4-1.el5
(In reply to comment #7)
> It cannot be reproduced in v2v-0.5.4-1.el5
I'll track it on the next build
Can we close this one?
It cannot be reproduced in virt-v2v-0.6.0-3.el5. So close it.