iceman10
Contributor
Contributor

cannot resize disk on some vm's

Jump to solution

Hi!

I have a little problem, I cannot resize the disk size on some of my vm's.

I tried yesterday on two and that worked fine, tried to day (different vm) and it's not work out so well for me.

I first shutdown the vm, rightklick, change the size to 20Gb from 4Gb and press OK.

when I then rightklick on the vm after pushed OK the size is still 4Gb (I don't mean in windows, in VI client).

why? workaround?

thnx for help.

0 Kudos
1 Solution

Accepted Solutions
AntonVZhbankov
Immortal
Immortal

Does VM have any snapshots?


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, MCITP: SA+VA, VCP 3/4/5, VMware vExpert http://blog.vadmin.ru

View solution in original post

0 Kudos
11 Replies
depping
Leadership
Leadership

Which version of ESX / vCenter are you using?

Duncan

VMware Communities User Moderator

-


Blogging:

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
iceman10
Contributor
Contributor

esx 3.5

0 Kudos
depping
Leadership
Leadership

Okay I moved it to the correct subforum.

The obvious first: Do you have enough diskspace on the VMFS volume?

Duncan

VMware Communities User Moderator

-


Blogging:

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
AlexanderCapald
Contributor
Contributor

sometimes vc does that so i log into the esx directly and then modify the vm, i have found that Partition Magic 8 works a treat.

0 Kudos
AntonVZhbankov
Immortal
Immortal

Does VM have any snapshots?


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, MCITP: SA+VA, VCP 3/4/5, VMware vExpert http://blog.vadmin.ru
0 Kudos
nirubagur
Enthusiast
Enthusiast

As a workaround, you can log on the host and use the vmkfstools command. it works well.

root#vmkfstools -X 20G <vmdiskname.vmdk>

Ofcourse after doing this,you need to expand the disk from within the Guest OS. Disk part or disk manager for windows OSes.

Award points if you found the answer helpful Smiley Happy

award points of you found this answer helpful
0 Kudos
AlexanderCapald
Contributor
Contributor

Anton is correct

0 Kudos
avlieshout
VMware Employee
VMware Employee

Be sure that the vm does NOT have an active snapshot, before using this command on the console!

vCenter checks for this condition where the vmkfstools command does not!. Therefore i recommend to allways resize through vCenter/VIC

-Arnim van Lieshout

-


Blogging: http://www.van-lieshout.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
iceman10
Contributor
Contributor

yes there is 256GB free

0 Kudos
iceman10
Contributor
Contributor

yes, I took one before I tried to resize the disk (if it should be some crap)

0 Kudos
AntonVZhbankov
Immortal
Immortal

You can not resize disk if you have snapshots.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, MCITP: SA+VA, VCP 3/4/5, VMware vExpert http://blog.vadmin.ru