Menu
InformatiWeb Pro
  • Index
  • System admin
  • Virtualization

Login

Registration Password lost ?
FR
  • Windows Server
    • WMS 2012
    • WS2012 R2
    • WS2016
  • Citrix
    • Citrix NetScaler Gateway
    • Citrix XenApp / XenDesktop
    • Citrix XenServer
  • VMware
    • VMware ESXi
    • VMware vSphere
    • VMware Workstation
  • Microsoft
    • Hyper-V
  • RAID
    • Adaptec SmartRAID
  • UPS
    • APC Back-UPS Pro
  • Firewall
    • pfSense
  • InformatiWeb Pro
  • Virtualization
  • VMware
  • Use VMware vSphere (6.7) APIs array integration (VAAI)

Use VMware vSphere (6.7) APIs array integration (VAAI)

  • VMware
  • VMware vCenter Server (VCSA), VMware vSphere
  • 27 September 2024 at 11:14 UTC
  • InformatiWeb
  • 7/7
Previous page

7.13. Testing UNMAP from the guest OS

If you install a compatible guest OS, you will also be able to trigger this UNMAP process from the guest OS.

As you can see, currently our virtual hard drive size is around 16 GB.

On our HPE, the displayed space consumed is approximately 15 GB.

In the guest OS, Windows 10 tells us that there is currently around 25 GB of free space in its "C" partition.

To test UNMAP, we took a large file and duplicated it twice.

Now there is only about 10 GB free.

Now VMware tells us that our VM's virtual hard drive is approximately 31 GB in size.

Our HPE server tells us that the space consumed is around 30 GB.

We delete large files from the guest OS.

And the size of the virtual hard disk has almost not changed.

To free up space in the virtual hard drive, you will need to use the "Defragment and Optimize Drives" application available on Windows.
To do this, search for "optimize" in the start menu.

Source : Thin Provisioning - Windows drivers | Microsoft Learn.

Select the drive (partition) where you just deleted the large files and click Optimize.

Once the optimization is complete, you will see the message "OK (100% space efficiency)" appear.

As you can see, the size of the virtual hard disk has decreased.

For the freed space to be taken into account instantly by your HPE server, run the command again:

Plain Text

esxcli storage vmfs unmap --volume-label="HPE iSCSI Datastore"

As expected, the space consumed on your HPE server has also decreased.

Share this tutorial

Partager
Tweet

To see also

  • VMware ESXi 6.7 - Update VMware ESXi from the command line (CLI)

    VMware 10/5/2022

    VMware ESXi 6.7 - Update VMware ESXi from the command line (CLI)

  • VMware vSphere 6.7 - Customize guest OS (Windows and Linux) automatically

    VMware 4/3/2024

    VMware vSphere 6.7 - Customize guest OS (Windows and Linux) automatically

  • VMware vSphere 6.7 - Disable vSphere Client timeout

    VMware 4/5/2024

    VMware vSphere 6.7 - Disable vSphere Client timeout

  • VMware vSphere 6.7 - Join vCenter Server to an Active Directory domain

    VMware 7/24/2024

    VMware vSphere 6.7 - Join vCenter Server to an Active Directory domain

Comments

No comment

Share your opinion

Pinned content

  • Software (System admin)
  • Linux softwares
  • Our programs
  • Terms and conditions
  • Share your opinion

Contact

  • Guest book
  • Technical support
  • Contact

® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.

Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.