cannot resize virtual drive

3 replies
KORPUSPI
2 posts

Hello,

when trying to increase space of virtual drive I receive error:

DQEMUI-1: Error while trying to resize qemu image qemu-img: image format driver does not support resize.

What I might be doing wrong?

lancem
210 posts

Maybe it's because the image is a VMDK file and not QCOW2?

KORPUSPI
2 posts

yes, and is there any simple way to convert it to QCOW2 ?..

Thank you

phantasyconcepts
2 posts

For those who are having this problem, Google gave me an answer.  This MUST be done at the console, so either ssh to your antsle, or use the console from the antman GUI.   Type the following command

qemu-img resize image.qcow2 +SIZE

where 'image.qcow2' is replaced with your fully qualified image path and  '+SIZE' is whatever size you want to use like the following:

qemu-img resize /antlets/lion-o/Windows10.qcow2 50g (for a 50GB size).

Log in to reply. New here? It takes a minute.