RHEV: disk fails to extend but results in huge disk capacity

Solution In Progress - Updated -

Issue

Attempted to extend a thin provisioned disk attached to a Windows VM from 35GB to 50GB.
Following is seen in RHEV-M Events tab:

Failed to update VM 'XXXX' with the new volume size. VM restart is recommended. 
Size of the disk 'XXXX' was successfully updated to 17923 GB by 'XXXX.' 

Logs from VDSM for disk extension show it actually aborted before doing any extension because requested new size (50GB) was already smaller the current size (18TB)

__init__::481::jsonrpc.JsonRpcServer::(_serveRequest) Calling 'VM.diskSizeExtend' in bridge with {u'driveSpecs': {u'domainID': u'c8d3798c-3e56-4c5e-a0c2-436488c9f393', u'volumeID': u'bf3ff80d-3908-435c-a624-b6a0ca079970', u'poolID': u'00000002-0002-0002-0002-0000000000f6', u'imageID': u'b4be957e-4b5f-4e3a-bbfd-5d9e281603c7'}, u'vmID': u'282a67de-9c97-4c2f-b8ea-d484de6185bb', u'newSize': u'53687091200'}

utils::739::root::(execCmd) /usr/bin/qemu-img info -f qcow2 /rhev/data-center/00000002-0002-0002-0002-0000000000f6/c8d3798c-3e56-4c5e-a0c2-436488c9f393/images/b4be957e-4b5f-4e3a-bbfd-5d9e281603c7/bf3ff80d-3908-435c-a624-b6a0ca079970 (cwd None)

utils::759::root::(execCmd) SUCCESS: <err> = ''; <rc> = 0

vm::4703::vm.Vm::(_diskSizeExtendCow) vmId=`282a67de-9c97-4c2f-b8ea-d484de6185bb`::Requested extension size 53687091200 for disk vda is smaller than the current size 19245681344512

Environment

  • Red Hat Enterprise Virtualization 3.5.4
  • Red Hat Enterprise Linux 7.1
    • vdsm-4.16.26-1.el7
    • qemu-kvm-tools-rhev-2.1.2-23.el7_1.9
  • Thin-Provisioned Disks

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content