VMware Cloud Community
ThierryL
Contributor
Contributor

VC 2.5 not showing proper disk size of my VM

I'm currently using VC 2.5 with no update. When I go to the Virtual Machine properties, Hardware, Hard Disk 1, the Disk Size shows 20GB. When I go into my VM(Win XP 32 bit), the disk capacity shows 25GB. The VM was originally created with 20GB, yesterday I added 5 GB more with the command "vmkfstools -X 25G myvm.vmdk" when I ssh to my esx server. How come the proper size is not displayed properly through VC? I remember doing similar disk resizing in the past with a previous version of VC, which shows the new size properly.

0 Kudos
3 Replies
azn2kew
Champion
Champion

You can download VCPlus tools which is really good reviewing all disk size in VC and I'm using it now.

VCplus

Title

VCplus

Company

run-virtual.com

License

Freeware

Author

Richard Garsthagen

Website

_[http://www.run-virtual.com/?p=185

http://www.run-virtual.com/][http://www.run-virtual.com/?p=185

http://www.vidocit.com/][http://www.run-virtual.com/?p=185

http://www.leostream.com/][http://www.run-virtual.com/?p=185

http://www.platespin.com/][http://www.run-virtual.com/?p=185

http://www.vizioncore.com/][http://www.run-virtual.com/?p=185

http://www.invirtus.com/][http://www.run-virtual.com/?p=185

http://www.veeam.com/][http://www.run-virtual.com/?p=185

http://www.veeam.com/]_[http://www.run-virtual.com/?p=185

http://www.esxguide.com/]

http://www.run-virtual.com/?p=185

A program that adds functionality to your VirtualCenter environment! It allows you to see what the actual disk usage is within your Virtual Machines, Easily see if a Virtual Machine has a snapshot and what the size of the snapshot files are and it allows you to sync the VM's DNS name to the Display Name.

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
0 Kudos
ThierryL
Contributor
Contributor

Someone suggested this tool to me last week, I can't really use it because it modifies the VC database and our sys admin team doesn't recommend changing their windows servers, it will be against their standard. I'm currently using a perl script which makes use of the VI perl toolkit, it works pretty well but this disk size bug from the VC is giving me some false values.

0 Kudos
ThierryL
Contributor
Contributor

Actually, the following works:

service mgmt-vmware restart

The VC updates properly after a few minutes, read it from a past thread.

0 Kudos