RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 999763 - fail to create VPC file format disk with large size using qemu-img
Summary: fail to create VPC file format disk with large size using qemu-img
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Jeff Cody
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1058145
TreeView+ depends on / blocked
 
Reported: 2013-08-22 04:48 UTC by Sibiao Luo
Modified: 2014-06-11 18:40 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1058145 (view as bug list)
Environment:
Last Closed: 2014-06-11 18:40:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sibiao Luo 2013-08-22 04:48:50 UTC
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 05:24:00 UTC
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 18:40:31 UTC
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.