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
  • 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
  • 6/7
Previous page

7.11. Create an iSCSI datastore

Now that your host's iSCSI adapter is configured, you can create a new datastore on your VMware ESXi host.
To do this, select your VMware ESXi host and click: Storage -> New Datastore.

Select "VMFS".

Provide a name (for example: HPE iSCSI Datastore) for this datastore and select your iSCSI disk "LEFTHAND iSCSI Disk".

Select "VMFS 6" so that UNMAP can also work automatically.
This was not the case with "VMFS 5".

Click Next.

A summary of your datastore configuration appears.
Click Finish.

Your datastore has been created.

If you go to "Configure -> Backing", you will see that it is your iSCSI disk that is used.

7.12. Testing UNMAP on a datastore

At the moment we have a virtual machine "Win 10 x64 v2004" on our local datastore "datastore1".

Our "HPE iSCSI Datastore" datastore is therefore empty at the moment.

As you can see, there are no files in it (apart from a system folder created by VMware).

In the CMC console, you will see that the space consumed is 512 MB.

To test space usage and reclamation on our iSCSI datastore, we will clone our virtual machine to this iSCSI datastore.

Provide a name for this new VM.

Select your datastore "HPE iSCSI Datastore", then a virtual disk format "Thin Provision".

A summary is displayed.

Once cloned, you will see that it is located on your new "HPE iSCSI Datastore" datastore.

On your datastore, you will find a new folder with the files of your new VM.

As expected, disk space is used on our "HPE iSCSI Datastore" datastore.

On your HPE server, you will see that the space consumed has increased.
Note: there may be a difference between the size shown on your host and the size seen by your HPE server.

Delete the virtual machine you just created on your iSCSI datastore.

Confirm its deletion by clicking Yes.

As you can see, the VMware vSphere Client tells you that the space used has gone down.

In the "Files" tab, you will also see that the folder corresponding to your VM will have disappeared.

On the other hand, on your HPE server, the consumed size will not have changed.
Your HPE server is therefore not aware that disk space has been freed on this volume.

For your HPE server to know that disk space has been freed, you must wait for your host to automatically report this if you are using a VMFS 6 datastore.
Or, report it manually to your HPE server to make it instant by running this command:

Plain Text

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

Now you can see that space has been freed on your HPE server.

Next page

Share this tutorial

Partager
Tweet

To see also

  • VMware ESXi 7.0 / 6.7 - Import a VM (OVF / OVA) with a compressed hard disk

    VMware 8/31/2022

    VMware ESXi 7.0 / 6.7 - Import a VM (OVF / OVA) with a compressed hard disk

  • VMware vSphere 6.7 - Migrate VMs via vMotion (rename VM files)

    VMware 11/15/2024

    VMware vSphere 6.7 - Migrate VMs via vMotion (rename VM files)

  • VMware vSphere 6.7 - Port mirroring

    VMware 1/15/2025

    VMware vSphere 6.7 - Port mirroring

  • VMware vSphere 6.7 - Scheduled tasks

    VMware 7/3/2024

    VMware vSphere 6.7 - Scheduled tasks

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.