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

VMware ESXi v4.1 thin provisioning

I have a datastore that is only showing 1.6 GBs of space available.  If I move data off of this drive it won't show the space being free.  I've opened up a thread in the past and it seems to be a known that space will not be released unless I move the disk to a different datastore or move the VM completely to a different host.. But..  If I move data off of this thin provision disk will it dismount if ESXi is reporting to vsphere it being low or will it truly know how much space is available?  The reality is that I have 1.6 GBs free but I'm about to move 70 GBs to another datastore.. But..  Will it void dropping since I moved 70 GBs or is it going to drop based on what's being reported?
0
gopher_49
Asked:
gopher_49
  • 3
  • 3
  • 2
3 Solutions
 
vmwarun - ArunCommented:
The target datastore would be checked for required space when you Storage vMotion a VM from its source datastore, so to answer your question, YES the migration would happen successfully.
0
 
gopher_49Author Commented:
But.. I'm not migrating right now.. I'm just trying to void ESXi or vSphere from dismounting a VM due to low space.  vSphere THINKS there is only 1.6GBs left but I know for a fact I moved over 70 GBs to a different datastore.  Does ESXi/vSphere dismount/pause a VM based on the available space noted in the vSphere client or does it truly look at the available space on the ESXi host datastore?
0
 
vmwarun - ArunCommented:
When you think about thin provisioning, there are 2 terms associated with storage, provisioned space and used space. If both these terms are equal in size, then you haven't reclaimed any storage space. Check if any VMs have snapshots which can also consume space on the datastore.
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
It depends which SAN you have, some SANs, you need to run a VMFS reclaim on the datastore with VMFS, to reclaim the storage space.

see here

VMware KB: Using vmkfstools to reclaim VMFS deleted blocks on thin-provisioned LUNs

Using esxcli in vSphere 5.5 to reclaim VMFS deleted blocks on thin-provisioned

VMware KB: Thin Provisioning Block Space Reclamation  (VAAI UNMAP) does not work

So have you tried the  vmkfstools -y command ? (5.0 and 5.1)
0
 
gopher_49Author Commented:
I'm running v4.1.  Will these commands work on 4.1?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I'm afraid not. (5.0 and 5.1).
0
 
gopher_49Author Commented:
ouch..  At this point it's worth upgrading to v5 to be able to run this command.  The ESXi install is on a memory stick so storage is not a problem there.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Reclaim features are very effective in 5.x.
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.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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.

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