Solved

VMware ESXi v4.1 thin provisioning

Posted on 2014-01-12
8
373 Views
Last Modified: 2014-01-26
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
Comment
Question by:gopher_49
  • 3
  • 3
  • 2
8 Comments
 
LVL 19

Assisted Solution

by:vmwarun - Arun
vmwarun - Arun earned 334 total points
ID: 39775793
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
 

Author Comment

by:gopher_49
ID: 39775849
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
 
LVL 19

Accepted Solution

by:
vmwarun - Arun earned 334 total points
ID: 39775876
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
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 166 total points
ID: 39775899
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
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.

 

Author Comment

by:gopher_49
ID: 39782720
I'm running v4.1.  Will these commands work on 4.1?
0
 
LVL 117
ID: 39782790
I'm afraid not. (5.0 and 5.1).
0
 

Author Comment

by:gopher_49
ID: 39782798
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
 
LVL 117
ID: 39782823
Reclaim features are very effective in 5.x.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

This Tutorial covers a very basic and common question asked on Experts Exchange, "How Do I Clone or Copy a virtual machine in VMware vSphere Hypervisor ESX/ESXi 4.x, ESXi 5.0?" Using the following method, no third party tools are required or need…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:

708 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

17 Experts available now in Live!

Get 1:1 Help Now