# Resize VM persistent image ! URGENT

**URL:** <https://forum.opennebula.io/t/resize-vm-persistent-image-urgent/4453>\
**Category:** Product Support\
**Created:** [June 15, 2017, 7:49am UTC](https://forum.opennebula.io/t/resize-vm-persistent-image-urgent/4453 "2017-06-15T07:49:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![iulianh](https://avatars.discourse-cdn.com/v4/letter/i/5f8ce5/32.png) [@iulianh](https://forum.opennebula.io/u/iulianh)\
**Post date:** [June 15, 2017, 7:49am UTC](https://forum.opennebula.io/t/resize-vm-persistent-image-urgent/4453/1 "2017-06-15T07:49:33Z")

</div>

Hi,

Our VM storage is like this : 267 GB / 250 GB space available. How can I resize the image ?

---

<div class="post-metadata">

**Author:** ![Thomas\_Stein](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Thomas\_Stein](https://forum.opennebula.io/u/Thomas_Stein)\
**Post date:** [June 15, 2017, 8:49am UTC](https://forum.opennebula.io/t/resize-vm-persistent-image-urgent/4453/2 "2017-06-15T08:49:56Z")

</div>

I think you have to be a little bit more verbose.

---

<div class="post-metadata">

**Author:** ![iulianh](https://avatars.discourse-cdn.com/v4/letter/i/5f8ce5/32.png) [@iulianh](https://forum.opennebula.io/u/iulianh)\
**Post date:** [June 15, 2017, 8:52am UTC](https://forum.opennebula.io/t/resize-vm-persistent-image-urgent/4453/3 "2017-06-15T08:52:12Z")

</div>

So, a VM is started with and OS persistent image with 250 GB OS Image (qcow2). Now the image disk space looks like this 267 GB/ 250 GB and the VM can not start. The info saved is important can not be deleted.

How can I resize the image to 300 GB or more ?

Error:  
Failed to recover EFIs  
log mount finish failed

---

<div class="post-metadata">

**Author:** ![Thomas\_Stein](https://avatars.discourse-cdn.com/v4/letter/t/3d9bf3/32.png) [@Thomas\_Stein](https://forum.opennebula.io/u/Thomas_Stein)\
**Post date:** [June 15, 2017, 4:03pm UTC](https://forum.opennebula.io/t/resize-vm-persistent-image-urgent/4453/4 "2017-06-15T16:03:17Z")

</div>

qemu-img resize yourimage.qcow2 +50G should resize your image. but i’m not sure if that really helps because changing the image size does not resize the partitions within the image.
