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?
LVL 7
Robert SaylorSenior DeveloperAsked:
Who is Participating?
 
Subhashish LahaConnect With a Mentor Commented:
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.
0
 
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)

http://www.experts-exchange.com/Software/VMWare/A_11449-HOW-TO-P2V-V2V-for-FREE-VMware-vCenter-Converter-Standalone-5-1.html

http://www.experts-exchange.com/Software/VMWare/A_11489-HOW-TO-Synchronize-changes-when-completing-a-P2V-or-V2V-with-VMware-vCenter-Converter-Standalone-5-1.html
0
 
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...
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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.
0
 
Robert SaylorSenior DeveloperAuthor Commented:
I have refreshed the datastore but it's the same.

See images attached. The #'s do not add up.
expert-vm1.jpg
expert-vm2.jpg
0
 
Robert SaylorSenior DeveloperAuthor Commented:
here is where I removed the 2nd drive from the VM.
expert-vm3.jpg
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor 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.
0
 
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.
expert-vm4.jpg
0
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.

All Courses

From novice to tech pro — start learning today.