VMware Cloud Community
iceman10
Contributor
Contributor
Jump to solution

cannot resize disk on some vm's

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.

Reply
0 Kudos
1 Solution

Accepted Solutions
AntonVZhbankov
Immortal
Immortal
Jump to solution

Does VM have any snapshots?


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda

View solution in original post

Reply
0 Kudos
11 Replies
depping
Leadership
Leadership
Jump to solution

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".

Reply
0 Kudos
iceman10
Contributor
Contributor
Jump to solution

esx 3.5

Reply
0 Kudos
depping
Leadership
Leadership
Jump to solution

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".

Reply
0 Kudos
AlexanderCapald
Contributor
Contributor
Jump to solution

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.

Reply
0 Kudos
AntonVZhbankov
Immortal
Immortal
Jump to solution

Does VM have any snapshots?


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
Reply
0 Kudos
nirubagur
Enthusiast
Enthusiast
Jump to solution

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
Reply
0 Kudos
AlexanderCapald
Contributor
Contributor
Jump to solution

Anton is correct

Reply
0 Kudos
avlieshout
VMware Employee
VMware Employee
Jump to solution

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
Jump to solution

yes there is 256GB free

Reply
0 Kudos
iceman10
Contributor
Contributor
Jump to solution

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

Reply
0 Kudos
AntonVZhbankov
Immortal
Immortal
Jump to solution

You can not resize disk if you have snapshots.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda