2V0-621D · Question #191
An administrator needs to recover disk space on a previously-used thin provisioned virtual disk. The volumes where the administrator needs to recover the disk blocks are on VAAI-compliant storage arra
The correct answer is B. Use VMware Converter to migrate the virtual machine to a new datastore. This will recreate the D. Execute the esxcli storage vmfs unmap command.. To recover disk space from a previously-used thin provisioned virtual disk on VAAI-compliant storage, an administrator can either directly unmap unused blocks from the datastore or perform a migration that compacts the virtual disk.
Question
An administrator needs to recover disk space on a previously-used thin provisioned virtual disk. The volumes where the administrator needs to recover the disk blocks are on VAAI-compliant storage arrays. Which two actions should the administrator take accomplish this task? (Choose two.)
Options
- APerform a Storage vMotion to another volume in order to force free space recovery to occur.
- BUse VMware Converter to migrate the virtual machine to a new datastore. This will recreate the
- CIssue the vmkfstools -vmfs unmap command within the VMFS volume directory on the ESXi host
- DExecute the esxcli storage vmfs unmap command.
How the community answered
(37 responses)- A8% (3)
- B81% (30)
- C11% (4)
Why each option
To recover disk space from a previously-used thin provisioned virtual disk on VAAI-compliant storage, an administrator can either directly unmap unused blocks from the datastore or perform a migration that compacts the virtual disk.
Performing a Storage vMotion to another volume by itself does not necessarily reclaim disk space from thin-provisioned disks unless a change in disk provisioning (e.g., from thick to thin) is explicitly selected during the operation.
Using VMware Converter to migrate a virtual machine to a new datastore often involves a full copy operation that re-creates the virtual disk. During this process, only the actually used blocks are copied, effectively shrinking the thin-provisioned disk to its current consumption and thus reclaiming unused space.
The 'vmkfstools -vmfs unmap' command does not exist; vmkfstools is primarily for managing virtual disks, not for issuing UNMAP commands at the VMFS layer to the storage array.
The 'esxcli storage vmfs unmap' command directly initiates the UNMAP operation on a VMFS datastore, signaling the VAAI-compliant storage array to reclaim the blocks that are no longer in use by the thin-provisioned virtual disks hosted on that datastore.
Concept tested: vSphere storage space reclamation thin provisioning
Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.storage.doc/GUID-11910260-A6A3-448A-821B-40540C2C3992.html
Topics
Community Discussion
No community discussion yet for this question.