ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VMware vSphere 6.5 Storage – VMFS 6 with automatic UNMAP to reclaim dead blocks

By Vladan SEGET | Last Updated: October 8, 2017

Shares

VMware vSphere 6.5 has also new updated file system VMFS-6. We haven't talked about it just yet, as there is so much to cover. We have covered so far the vCenter upgrades, ESXi upgrades (via ISO/CD-ROM, but also via VMware Online Depot or Via “Offline Bundle”.  Note that you can find all posts about vSphere 6.5, ESXi 6.5 on our Dedicated vSphere 6.5 Page. Today we'll talk about VMware vSphere 6.5 Storage – VMFS 6 with automatic UNMAP to reclaim dead blocks.

UNMAP mechanism was previously only manual (VMwareKB2057513) but with vSphere 6.5 and VMFS-6, things are different. A new UNMAP crawler mechanism will free dead space on VMFS-6 datastores within 12 hours automatically.

However, to migrate your datastores to VMFS-6, you don't have an “in-place” upgrade so you'll have to create a new VMFS-6 datastore > move your VMs there via storage vMotion > delete your old VMFS-5 datastore.

But you might say, what about my VMs? When I delete some files from within a thin provisioned VM, will the “dead space” be reclaimed automatically?

The answer is yes, for newer OS. Windows and Linux. ESXi supports the unmap commands issued directly from a guest operating system to reclaim storage space. The level of support and requirements depend on the type of datastore where your virtual machine resides.

Inside a virtual machine, storage space is freed when, for example, you delete files on the thin virtual disk. The guest operating system notifies VMFS about freed space by sending the unmap command. The unmap command sent from the guest operating system releases space within the VMFS datastore. The command then proceeds to the array, so that the array can reclaim the freed blocks of space.

VMFS Migration/Upgrade

There is one VMware KB article which you should check – Migrating VMFS 5 datastore to VMFS 6 datastore.

In fact, you can't upgrade a VMFS-5 datastore to VMFS-6, but you must first migrate your VMs over and then only:

  • Unmount datastore DS-1 from all ESX hosts.
  • Delete datastore DS-1.
  • Create a new datastore with the VMFS 6 file system using the same lun

Note that the new VMFS-6 datastore has to have size at least equal (or bigger) than the old datastore (the one you migrating VMs from).

Image courtesy of VMware.

Migration of VMs from VMFS-5 to VMFS-6

VMFS-6 is faster, according to Cormac's blog post here, there are “all-round” performance improvements, with faster files creation, device discovery and device rescanning.

Quote:

VMFS-6 is now 4K aligned, which will allow VMFS-6 to support newer 4K drives once they become supported. One other enhancement to call out is better ways to handle ATS misscompare issues which I know has been problematic for some storage arrays. There is now a new retry mechanism included in VMFS-6 to avoid (as much as possible) this situation.

Other storage enhancements and maximums (2x increase from 6.0!!!)

  • ESXi 6.5 can now also support up to 2,000 paths in total.
  • Up to 512 devices.

Sources: 

  • Cormac's blog
  • VMware vSphere 6.5 documentation
  • Migrating VMFS 5 datastore to VMFS 6 datastore
  • [Old KB on Manual Unmap: ] Using the esxcli storage vmfs unmap command to reclaim VMFS deleted blocks on thin-provisioned LUNs

vSphere 6.5 ESX Virtualization Resources:

  • vSphere 6.5 Dedicated page (All is there…)

Installs, upgrades, migrations….

  • VMware vSphere 6.5 Released – Start Your Download Engines
  • How to Install VCSA 6.5 in VMware Workstation [LAB]
  • How to Migrate Windows Based vCenter to VCSA 6.5 [Lab]
  • How to Migrate Windows based vCenter Server 6.0 to Windows vCenter 6.5 In-Place [LAB] 
  • How to create a USB media with ESXi 6.5 Installation
  • How to Upgrade ESXi 6.0 to 6.5 via CLI [On Line]
  • How to Upgrade ESXi 6.0 to 6.5 via ISO
  • How to upgrade ESXi 6.0 to ESXi 6.5 via Offline Bundle

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
4/5 - (1 vote)

| Filed Under: Server Virtualization

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Gowtham says

    August 7, 2018 at 9:37 am

    Hi Vladan,

    Your posts are so informative.
    I have just gone through VMFS 6 space reclamation. I just got a catch that you mentioned that it will be completed in 12 hours. Is there any settings that has 12 hours. Can we change the value to 24 hrs ?

    • Vladan SEGET says

      August 7, 2018 at 2:23 pm

      Hi, If there is one, I’d detailed it already. -:). No, honestly, I’m not aware of that. Thanks for reading my blog.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in