Hide Forgot
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
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
Corner case on the creation of vpc images. Works on RHEL7, closing as WONTFIX for RHEL6.