Solved

VMware storage issue

Posted on 2013-06-07
8
347 Views
Last Modified: 2013-06-07
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?
0
Comment
Question by:Robert Saylor
  • 4
  • 3
8 Comments
 
LVL 10

Expert Comment

by:Subhashish Laha
ID: 39228712
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
 
LVL 6

Author Comment

by:Robert Saylor
ID: 39228721
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
 
LVL 10

Expert Comment

by:Subhashish Laha
ID: 39228740
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
 
LVL 6

Author Comment

by:Robert Saylor
ID: 39228790
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 6

Author Comment

by:Robert Saylor
ID: 39228810
here is where I removed the 2nd drive from the VM.
expert-vm3.jpg
0
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
ID: 39228887
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
 
LVL 10

Accepted Solution

by:
Subhashish Laha earned 250 total points
ID: 39228924
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
 
LVL 6

Author Comment

by:Robert Saylor
ID: 39228945
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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now