?
Solved

free up hardware space

Posted on 2013-12-14
2
Medium Priority
?
419 Views
Last Modified: 2013-12-30
I have created few VMs on a vmfs datastore.
I have now deleted the VMs from the datastore.
There is no files and folder on the data store.
The data store still shows the used space as same prior to deleting the vas.
What I have to do on esxi to show the actual free space?
0
Comment
Question by:sara2000
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 123
ID: 39719230
can you login via the Console (or SSH) and also confirm, space is not being reclaimed.

What is the SAN?

Some SANs do this, and you need to run a reclaim, or delete the LUN, and re-create the LUN.
0
 
LVL 10

Accepted Solution

by:
Mohammed Rahman earned 2000 total points
ID: 39719813
vSphere 5.0 introduced the VAAI Thin Provisioning Block Space Reclamation (UNMAP) Primitive. This feature was designed to efficiently reclaim deleted space to meet continuing storage needs. ESXi 5.x issues UNMAP commands for space reclamation during several operations.

There were some issues with this approach, however, primarily regarding performance and an array's ability to reclaim the space in an optimal time frame.

For this reason, the UNMAP operation has been disabled by default in ESXi500-201112001 (ESXi 5.0 Patch 02) and ESXi 5.0 Update 1.


Confirming if SCSI UNMAP is supported on a LUN

Open an SSH session to a host and run this command:

# esxcli storage core device vaai status get -d naa

Example output:

naa.60a98000572d54724a346a6170627a52
VAAI Plugin Name: VMW_VAAIP_NETAPP
ATS Status: supported
Clone Status: supported
Zero Status: supported
Delete Status: supported

In this example, the device displays the Delete Status as supported, meaning that it is capable of sending SCSI UNMAP commands to the array when a space reclaim operation is requested.

Using vmkfstools -y in vSphere 5.0 U1 or later and vSphere 5.1

To use the -y option with vmkfstools, run these commands:

# cd /vmfs/volumes/volume_name
# vmkfstools -y percentage_of_deleted_blocks_to_reclaim

Please refer vmkfstools to reclaim VMFS deleted blocks for detailed instructions.

An EXCELLENT article explaining why unused space on the storage is not released automatically when you delete or migrate a virtual machine and how to Reclaim Space from Thin Provisioned VMFS Datastores
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
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:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

777 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