Bug 1088788
Summary: | qemu-img creates truncated VMDK image with subformat=twoGbMaxExtentFlat | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Fam Zheng <famz> |
Component: | qemu-kvm | Assignee: | Fam Zheng <famz> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.6 | CC: | bsarathy, chayang, juzhang, knoel, mkenneth, qzhang, rbalakri, sluo, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | qemu-kvm-0.12.1.2-2.432.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1039791 | Environment: | |
Last Closed: | 2014-10-14 06:58:22 UTC | Type: | Bug |
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: | 1039791 | ||
Bug Blocks: |
Description
Fam Zheng
2014-04-17 07:55:25 UTC
Fix included in qemu-kvm-0.12.1.2-2.432.el6 Reproduce this issue on qemu-kvm-rhev-0.12.1.2-2.431.el6.x86_64 with twoGbMaxExtentSparse and twoGbMaxExtentFlat subformat. [root@amd-2427-32-1 home]# qemu-img create -f vmdk -o subformat=twoGbMaxExtentFlat test.vmdk 1T Formatting 'test.vmdk', fmt=vmdk size=1099511627776 compat6=off subformat='twoGbMaxExtentFlat' zeroed_grain=off [root@amd-2427-32-1 home]# cat test.vmdk # Disk DescriptorFile version=1 CID=53d8cb19 parentCID=ffffffff createType="twoGbMaxExtentFlat" # Extent description RW 4194304 FLAT "test-f001.vmdk" 0 RW 4194304 FLAT "test-f002.vmdk" 0 RW 4194304 FLAT "test-f003.vmdk" 0 ... RW 4194304 FLAT "test-f111.vmdk" 0 RW 4194304 FLAT "test-f112.vmdk" 0 RW 4194304 FLAT "test-f113.vmdk" 0 RW 4194304 FLAT "test-[root@amd-2427-32-1 home]# [root@amd-2427-32-1 home]# qemu-img create -f vmdk -o subformat=twoGbMaxExtentSparse test.vmdk 1T Formatting 'test.vmdk', fmt=vmdk size=1099511627776 compat6=off subformat='twoGbMaxExtentSparse' zeroed_grain=off [root@amd-2427-32-1 home]# [root@amd-2427-32-1 home]# cat test.vmdk # Disk DescriptorFile version=1 CID=53d8cb30 parentCID=ffffffff createType="twoGbMaxExtentSparse" # Extent description RW 4194304 SPARSE "test-s001.vmdk" RW 4194304 SPARSE "test-s002.vmdk" RW 4194304 SPARSE "test-s003.vmdk" RW 4194304 SPARSE "test-s004.vmdk" ... RW 4194304 SPARSE "test-s111.vmdk" RW 4194304 SPARSE "test-s112.vmdk" RW 4194304 SPARSE "test-s113.vmdk" RW 4194304 SPARSE "t[root@amd-2427-32-1 home]# Verify this issue on qemu-kvm-rhev-0.12.1.2-2.432.el6.x86_64 with twoGbMaxExtentSparse and twoGbMaxExtentFlat subformat. host info: # uname -r && rpm -q qemu-kvm-rhev 2.6.32-493.el6.x86_64 qemu-kvm-rhev-0.12.1.2-2.432.el6.x86_64 [root@amd-2427-32-1 home]# qemu-img create -f vmdk -o subformat=twoGbMaxExtentFlat test.vmdk 1T Formatting 'test.vmdk', fmt=vmdk size=1099511627776 compat6=off subformat='twoGbMaxExtentFlat' zeroed_grain=off [root@amd-2427-32-1 home]# cat test.vmdk # Disk DescriptorFile version=1 CID=53d8cdb8 parentCID=ffffffff createType="twoGbMaxExtentFlat" # Extent description RW 4194304 FLAT "test-f001.vmdk" 0 RW 4194304 FLAT "test-f002.vmdk" 0 RW 4194304 FLAT "test-f003.vmdk" 0 ... RW 4194304 FLAT "test-f510.vmdk" 0 RW 4194304 FLAT "test-f511.vmdk" 0 RW 4194304 FLAT "test-f512.vmdk" 0 # The Disk Data Base #DDB ddb.virtualHWVersion = "4" ddb.geometry.cylinders = "2130440" ddb.geometry.heads = "16" ddb.geometry.sectors = "63" ddb.adapterType = "ide" [root@amd-2427-32-1 home]# [root@amd-2427-32-1 home]# [root@amd-2427-32-1 home]# qemu-img create -f vmdk -o subformat=twoGbMaxExtentSparse test.vmdk 1T Formatting 'test.vmdk', fmt=vmdk size=1099511627776 compat6=off subformat='twoGbMaxExtentSparse' zeroed_grain=off [root@amd-2427-32-1 home]# cat test.vmdk # Disk DescriptorFile version=1 CID=53d8cdd5 parentCID=ffffffff createType="twoGbMaxExtentSparse" # Extent description RW 4194304 SPARSE "test-s001.vmdk" RW 4194304 SPARSE "test-s002.vmdk" RW 4194304 SPARSE "test-s003.vmdk" ... RW 4194304 SPARSE "test-s510.vmdk" RW 4194304 SPARSE "test-s511.vmdk" RW 4194304 SPARSE "test-s512.vmdk" # The Disk Data Base #DDB ddb.virtualHWVersion = "4" ddb.geometry.cylinders = "2130440" ddb.geometry.heads = "16" ddb.geometry.sectors = "63" ddb.adapterType = "ide" Base on above, this issue has been fixed correctly, move to VERIFIED status, please correct me if any mistake. Best Regards, sluo Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1490.html |