# Unable to resize vm disk

**URL:** <https://forum.opennebula.io/t/unable-to-resize-vm-disk/5633>\
**Category:** Product Support\
**Created:** [January 26, 2018, 4:50pm UTC](https://forum.opennebula.io/t/unable-to-resize-vm-disk/5633 "2018-01-26T16:50:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobc](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/bobc/32/6496_2.png) [@bobc](https://forum.opennebula.io/u/bobc)\
**Post date:** [January 26, 2018, 4:50pm UTC](https://forum.opennebula.io/t/unable-to-resize-vm-disk/5633/1 "2018-01-26T16:50:05Z")

</div>

When I attempt to resize any VM disk on either of my hosts I get the following error:  
[one.vm.diskresize] New disk size has to be greater than current one  
This just started today. I confirmed there is plenty of disk space on both hosts. I also have no snapshots.

The VM template shows: ORIGINAL\_SIZE = “10240”; I’m attempting to resize to 200GB

I’m attempting this from Sunstone using OpenNebula 5.4.6 on Centos 7.

Any idea what I should look at?

---

<div class="post-metadata">

**Author:** ![bobc](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/bobc/32/6496_2.png) [@bobc](https://forum.opennebula.io/u/bobc)\
**Post date:** [January 26, 2018, 6:06pm UTC](https://forum.opennebula.io/t/unable-to-resize-vm-disk/5633/2 "2018-01-26T18:06:43Z")

</div>

Additional information . . .

I believe I know why disk resizing stopped working just yesterday. Coincidentally my servers were bounced yesterday morning. As a result of this I assume OpenNebula was automatically updated to version 5.4.6. Prior to this I was running on version 5.4.2. I’m guessing the problem may have been introduced in version 5.4.4 because a change was made to the disk size slider functionality.

Update . . .  
I was finally able to work around this for now with CLI command:  
onevm disk-resize   
Note size must be in megabytes. So for increasing my disk size to 200 GB I entered:  
onevm disk-resize 250 3 204800.

---

<div class="post-metadata">

**Author:** ![subhash](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/subhash/32/5022_2.png) [@subhash](https://forum.opennebula.io/u/subhash)\
**Post date:** [February 24, 2018, 10:57am UTC](https://forum.opennebula.io/t/unable-to-resize-vm-disk/5633/3 "2018-02-24T10:57:33Z")

</div>

Hello All,

I have used opennebula 5.4.6 version and created two VM on it, after that trying to resize existing VM disk space 40 GB to 60GB, then got an error.  
“New disk size has to be greater than current one”

Also same configuration and settings used with older version 5.4.1, with this no one any type of issue of disk resize.

Might be bug ???

---

<div class="post-metadata">

**Author:** ![atodorov\_storpool](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/atodorov_storpool/32/5327_2.png) [@atodorov\_storpool](https://forum.opennebula.io/u/atodorov_storpool)\
**Post date:** [February 24, 2018, 12:22pm UTC](https://forum.opennebula.io/t/unable-to-resize-vm-disk/5633/4 "2018-02-24T12:22:47Z")

</div>

> [@subhash](#):
>
> Might be bug ???

Yes.

It is bug [#1671](https://github.com/OpenNebula/one/issues/1671) resolved in [HotFix](http://docs.opennebula.org/5.4/intro_release_notes/release_notes_hotfix/what_is_hotfix.html) release 5.4.7([release notes](http://docs.opennebula.org/5.4/intro_release_notes/release_notes_hotfix/resolved_issues_547.html)) so it will be available in the next regular release too.

Hope this helps.

Best Regards,  
Anton Todorov
