Bug 999763 - fail to create VPC file format disk with large size using qemu-img
fail to create VPC file format disk with large size using qemu-img
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.5
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Jeff Cody
Virtualization Bugs
:
Depends On:
Blocks: 1058145
  Show dependency treegraph
 
Reported: 2013-08-22 00:48 EDT by Sibiao Luo
Modified: 2014-06-11 14:40 EDT (History)
11 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1058145 (view as bug list)
Environment:
Last Closed: 2014-06-11 14:40:31 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sibiao Luo 2013-08-22 00:48:50 EDT
Description of problem:
As we have backport support for vhd(x) image format to rhel6.5, refer to bug 963420, but fail to create VHD(X) format disk files over 127GB using qemu-img.
btw, also tried rhel7.0 witch has no such issue.

Version-Release number of selected component (if applicable):
host info:
# uname -r && rpm -q qemu-kvm-rhev
2.6.32-412.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.397.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.# qemu-img create -f vpc sluo-data-disk.vhd 127G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=136365211648 
# qemu-img info sluo-data-disk.vhd
image: sluo-data-disk.vhd
file format: vpc
virtual size: 127G (136365219840 bytes)
disk size: 260K
2.# qemu-img create -f vpc sluo-data-disk.vhd 128G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=137438953472 
The image size is too large for file format 'vpc'
3.# qemu-img create -f vpc sluo-data-disk.vhd 130G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=139586437120 
The image size is too large for file format 'vpc'

Actual results:

Expected results:
it could create VHD(X) format disk files over 127GB using qemu-img successfully.

Additional info:
Tried rhel7.0, host info,
# uname -r && rpm -q qemu-kvm
3.10.0-3.el7.x86_64
qemu-kvm-1.5.2-4.el7.x86_64

# qemu-img create -f vpc sluo-data-disk.vhd 130G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=139586437120 
# qemu-img info sluo-data-disk.vhd
image: sluo-data-disk.vhd
file format: vpc
virtual size: 130G (139596710400 bytes)
disk size: 264K
Comment 4 Sibiao Luo 2014-01-27 00:24:00 EST
Retried it that fail to create VPC file format disk over 2032GB using qemu-img with the latest qemu-kvm version.

host info:
# uname -r && rpm -q qemu-kvm-rhev
2.6.32-425.el6.x86_64
qemu-kvm-rhev-0.12.1.2-2.415.el6.x86_64

# qemu-img create -f vpc sluo-data-disk.vhd 2031G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=2180769644544 
# qemu-img create -f vpc sluo-data-disk.vhd 2032G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=2181843386368 

# qemu-img create -f vpc sluo-data-disk.vhd 2033G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=2182917128192 
The image size is too large for file format 'vpc'
# qemu-img create -f vpc sluo-data-disk.vhd 2034G
Formatting 'sluo-data-disk.vhd', fmt=vpc size=2183990870016 
The image size is too large for file format 'vpc'

Best Regards,
sluo
Comment 6 Ademar Reis 2014-06-11 14:40:31 EDT
Corner case on the creation of vpc images. Works on RHEL7, closing as WONTFIX for RHEL6.

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