Reszed disk does not reflect the proper size from vSphere client

Venkatesh Srikantiah
Venkatesh Srikantiah used Ask the Experts™
on
I used a procedure to shrink the .VMDK file which was 200GB as we did not need the space allocated to it and there was plenty of free space. I used one of the recommended methods to shrink the volume from within windows disk management creating un-allocated space and then subsequently using the vi interface through an SSH session to reduce the size of the disk. It worked perfectly fine and I can see the disk size reduced on Disk Management from within the windows to 100GB. But when I logon to vSphere client to check the size of the .VMDK file it is unchanged and still stating the size as 200GB. How can i ensure it reflects the changed size?

Regards
Ven
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
A number of methods, move the disk to another datastore, remove the disk from the VM, and re-add it back (do not delete from disk).

Has the size changed on the datastore - this is key ?

I assume a bit like this method I wrote in this EE Article

HOW TO: Shrink a VMware Virtual Machine Disk (VMDK) in 15 minutes
Yes, That was your article I used to follow the procedure to Shrink a VMDK file. The removing and adding the disk work perfectly fine, Thanks for your quick reply.

Regards
Ven
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
No problems, please don't forget to select a solution and award points, and close out.
Great job

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial