Unable to resize Qcow2 disk attached to a VM

Solution Verified - Updated -

Issue

Changing the disk image size attached to a VM fails as the disk image is corrupt

# qemu-img resize filename size
qemu-img: Error resizing image: Invalid argument

Environment

KVM

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