Bug 676778 - [virt-v2v] The disk size show 3.3T when convert xen guest to RHEV
Summary: [virt-v2v] The disk size show 3.3T when convert xen guest to RHEV
Keywords:
Status: CLOSED DUPLICATE of bug 673466
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-v2v
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-11 07:05 UTC by cshao
Modified: 2011-02-11 09:48 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-11 09:48:37 UTC
Target Upstream Version:


Attachments (Terms of Use)
rhel5u6-64b-fv-raw-xen_prev_inspect.log (407.29 KB, application/octet-stream)
2011-02-11 07:17 UTC, cshao
no flags Details
rhel5u6-64b-fv-raw-xen_convert.log (330.30 KB, application/octet-stream)
2011-02-11 07:18 UTC, cshao
no flags Details

Description cshao 2011-02-11 07:05:05 UTC
Description of problem:
Before convert, the disk size is 6G, after convert, the disk size show 3.3T when execute command "fdisk -l".

Version-Release number of selected component (if applicable):
virt-v2v-0.7.1-2.el6.x86_64
libguestfs-winsupport-1.0-5.el6.x86_64
libguestfs-1.7.17-12.el6.x86_64
libvirt-0.8.7-5.el6.x86_64


How reproducible:
100%

Steps to Reproduce:
1. Convert xen guest to RHEV
# LIBGUESTFS_TRACE=1 virt-v2v -ic xen+ssh://10.66.72.123 -o rhev -osd 10.66.90.115:/vol/v2vrwu1/xen_export rhel5u6-64b-fv-raw-xen > /root/rhel5u6-64b-fv-raw-xen_convert.log 2>&1
2. After conversion, import it and then run it
3. Execute command "fdisk -l".


Actual results:
[root@dhcp-93-104 ~]# fdisk -l

WARNING: The size of this disk is 3.3 TB (3298534883328 bytes).
DOS partition table format can not be used on drives for volumes
larger than 2.2 TB (2199023255040 bytes). Use parted(1) and GUID 
partition table format (GPT).


Disk /dev/vda: 3298.5 GB, 3298534883328 bytes
255 heads, 63 sectors/track, 401024 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/vda1   *           1          13      104391   83  Linux
/dev/vda2              14         783     6185025   8e  Linux LVM
[root@dhcp-93-104 ~]# uname -a
Linux dhcp-93-104.nay.redhat.com 2.6.18-225.el5 #1 SMP Mon Sep 27 10:32:19 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
[root@dhcp-93-104 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 5.6 Beta (Tikanga)
Kernel \r on an \m

[root@dhcp-93-104 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
                      4.8G  2.8G  1.8G  61% /
/dev/vda1              99M   16M   79M  17% /boot
tmpfs                 501M     0  501M   0% /dev/shm



Expected results:
The disk size should be the same as before convert.

Additional info:

Comment 2 cshao 2011-02-11 07:17:56 UTC
Created attachment 478189 [details]
rhel5u6-64b-fv-raw-xen_prev_inspect.log

Comment 3 cshao 2011-02-11 07:18:34 UTC
Created attachment 478190 [details]
rhel5u6-64b-fv-raw-xen_convert.log

Comment 4 Matthew Booth 2011-02-11 09:48:37 UTC

*** This bug has been marked as a duplicate of bug 673466 ***


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