• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 373
  • Last Modified:

VMware storage issue

Hi, I had a 100 GB second partition configured on a VM. I needed to clear up that space so I removed it from Windows 2003 then removed it from the VM. However, the space has not been recovered under datastore1. How so I return that resource back to the pool?
Robert Saylor
Robert Saylor
  • 4
  • 3
2 Solutions
Subhashish LahaCommented:
The only supported way to shrink the VMware Virtual disk is by using VMware vCenter Converter Standalone 5.1. You will have very little downtime (approx. 30-60 seconds).

Read below articles for more information on VMware vCenter Converter Standalone 5.1 written by Hanccocka(EE Expert)


Robert SaylorSenior DeveloperAuthor Commented:
I don't think you followed what I did.

Let me start over...

1. I created a Windows 2003 VM with about 30 GB.
2. Installed Windows 2003....
3. I later added a 2nd partition through the VM settings.

So I deleted that 2nd partition but the available storage has not returned to the datastore...
Subhashish LahaCommented:
You mean added a new second VMDk file of 100GB on Windows 2003 VM and then later deleted that 100GB VMDK file from VM. Is that correct?

If yes, have you tried to refresh Datastore and check if it shows free space now.

Or, have you tried to close the vi client and reopen it -  you should see the free space right away.
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Robert SaylorSenior DeveloperAuthor Commented:
I have refreshed the datastore but it's the same.

See images attached. The #'s do not add up.
Robert SaylorSenior DeveloperAuthor Commented:
here is where I removed the 2nd drive from the VM.
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Refresh the datastore, how long have you waited for the space to be returned.

have you actually remove the VMDK?

there are two options, remove from machine and remove from machine and delete from disk.

is the second disk still in the datastore or has the file been removed?

Sometimes, datastore inventory refreshed does not happen in realtime.

check at the console or SSH prompt.
Subhashish LahaCommented:
Which option did you selected while removing Hard disk? (refer screenshot)
HDD Remove
- Remove from virtual Machine.
- Remove from virtual machine and delete files from disk.

By default, "Remove from virtual Machine" is selected.

If you have not selected "Remove from virtual machine and delete files from disk" then the VMDK file still exist on Datastore. You will have to browse the Datastore, go to Ghost server folder and delete the vmdk file.
Robert SaylorSenior DeveloperAuthor Commented:
I found it thanks for your help! I did not notice the bubble selection when I removed it so default was yes.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now