Avatar of rivkamak
rivkamak
Flag for United States of America asked on

How to reclaim unused disk space on equallogic storage when deleting thick provisioned VM's on Vmware 5.5

Hi,

We have vmware 5.5 version with an dell equallogic as the storage. Most of our VM's are thick provisioned. I want to delete some old thick provisioned VMs. I tried  deleting some thick VM's from Vcenter but when looking on the equallogic I did not see the decrease in storage size. Is there a simple way of reclaiming this storage on the equallogic?

Thank you.
StorageDellVMware

Avatar of undefined
Last Comment
rivkamak

8/22/2022 - Mon
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

does the datastore space on the LUN change, as viewed from vSphere ?
rivkamak

ASKER
Yes on vpshere it changed, only on equallogic it didnt change.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

what component are you looking at the size of the LUN ?
Your help has saved me hundreds of hours of internet surfing.
fblack61
rivkamak

ASKER
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

So you have a datastore

VM-3 Total Size 749.75 GB

485.43GB Used
264.32GB Free

what's the issue ?
rivkamak

ASKER
Sorry wrong datastore. Here is the correct one.

When I look on the volume space in the equallogic it shows much less free space, as if my deletion of a vm on that datastore is not seen from the storage end.
config2.PNG
config4.PNG
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
andyalder

It's not thin provisioned so I don't see how you would get any space back from the Equallogic side, but why would that matter?
rivkamak

ASKER
I want to reclaim the space, free up space on the san. i have alot more thick vms that i want to delete also.
andyalder

Short of creating a new LUN on the SAN, then creating a new VMware datastore on it and moving the current VMs to it then destroying the old LUN I don't think there is much you can do. Is the more space you want on the SAN destined for another purpose rather than your current cluster?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
rivkamak

ASKER
No, its just to make more space for more vm's in our enviroment.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

The datastore as shown by ESXi, states approx 262GB available for VMs.

The maximum size of the datastore is approx 799.75GB, Equallogic shows 800GB.

Currently the SAN shows 753.37GB in use.

BUT it's the datastore size of 262GB which is the FREE space for VMs.

I've just checked our Equallogic in house, and the ESXi Datastore FREE space, DOES NOT MATCH the Equallogic LUN In-Use space!

What matches is the LUN size = Datastore size. These are thick volumes.

This has been in production now for 7 years, zero downtime, all LUNs were built 7 years ago, we've never changed them, and all is managed by vCenter Server. We have 20 LUNs, across 14TB shared between 10 hosts.It's coming to the end of it's life now...
andyalder

If there were a way to shrink the allocated space on the SAN so it saw more free you would actually have less space available for your VMware environment. It is like looking at a PC's free space via Explorer Vs disk manager.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
efrimpol

I see what @rivkamak means.

Mine Equallogic also tells me a different story (spacewise) when compared to vCenter.

see attached screen shots

I log more into vCenter than the Equallogic (weekly vs biweekly) just to see if any errors have occurred, but if nothing is really happening anywhere, I tend just to leave things be.
VMWareReportedSpace.jpg
EquallogicReportedSpace.jpg
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
andyalder

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
rivkamak

ASKER
I might have gotten my terminology incorrectly before. When we create a volume on EqualLogic we expand the LUN (from VMware) to the same size as the volume. So when I delete a thick VM from that LUN, I should see that free space in the volume from equallogics end also free up. Just like I see when I add a VM the free space gets used up.    

Your telling me that the true space is what is shown on VMware? What happens on equallogic end if I add another 200GB VM. If volume is showing up in equallogic as 20GB free will it allow this?
andyalder

If you create an 800GB partition on a 1TB disk and put Windows on that 800GB then the hard disk has 200GB free, it is the same with any storage and any OS or hypervisor.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Your telling me that the true space is what is shown on VMware? What happens on equallogic end if I add another 200GB VM. If volume is showing up in equallogic as 20GB free will it allow this?

Yes, because it's VMware which creates the VM and detects the storage space.
rivkamak

ASKER
Thank you both.