Help reclaiming datastore storage space after deleting a VM

Greetings,

We deleted a VM folder on a datastore but don't see the space the VM was taking up reflected in the free space of the datastore. The VM folder held a out-of-production VM that had not been used since 2016. It was 4TB. It may or may not have been removed from inventory back then. When deleting the files, delete from disk was chosen. The VM storage was not thin provisioned. It is iSCSI to an EMC 3250 SAN.

How can we reclaim the 4TB of storage?

Thanks a lot
LVL 7
king daddyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
please use unmap command to reclaim the space.


esxcli storage vmfs unmap -l MyDatastore

or

esxcli storage vmfs unmap -u 509a9f1f-4ffb6678-f1db-001ec9ab86


https://kb.vmware.com/s/article/2057513

this will only work if you have thin provisioned storage at background.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Re-scan and wait sometimes the size may not be reflected immediately!
0
king daddyAuthor Commented:
Ajay, If other VMs are on the datastore where the deleted VM was hosted, will running unmap affect them? This was not thin provisioned.

Andrew, I just rescanned / refreshed and the size actually decreased by about 2 GB.

Thanks to the both of you.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

king daddyAuthor Commented:
Something is really eating up storage on this datastore. I have not seen this before. We are actively losing hundreds of MB over an hour of time. Just FYI.
0
king daddyAuthor Commented:
The datastore VM folder that was deleted does not show up in esxcli. Free space does not reflect the deletion of the 4TB that VM was using. The datastore is the first one in the list ending in eaf0c.
esxcli-datastore.JPG
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Snapshots check for snapshots and look in VM folders
0
king daddyAuthor Commented:
One small snapshot. Going to commit after hours. Still baffled as to why the free space hasn't been reclaimed yet. I deleted an iso file from another datastore on the same EMC storage and it showed the 3 GB almost immediately.
0
king daddyAuthor Commented:
EMC verified the vm / folder was deleted from the SAN. Not sure where to go to now especially with vmware support expired at this client.
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
could  you please confirm  VMFS volume version , esxi version , vcenter version?
0
king daddyAuthor Commented:
vmfs-5, esxi 5.5 build 3248547, vcenter 5.5 build 7460778
0
Ajay ChananaMCSE-2003/08|RHCSA| VCP5/6 |vExpert2018Commented:
if nothing is working for you, my last answer would be evacuate the datastore, Delete and recreate the datastore.
0
king daddyAuthor Commented:
Was finally able to reboot host after getting EMC and VMware involved. Only freed up about 1.5 TB even though we deleted a 4 TB VM. Weird but oh well. Client is over it so on to other things.

Thanks guys.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.