Troubleshooting and Frequently Asked Questions for space reclamation in VMware Horizon View 5.2.x and 5.3.x (2039907)
- View desktops do not reclaim space when you have enabled the space reclamation feature in VMware Horizon View 5.2 or 5.3.
- Space reclamation does not work in VMware Horizon View 5.2 or 5.3.
- VMware Tools provided with vSphere version 5.1 or later are installed on the virtual machine.
- The virtual machine is using virtual hardware version 9 or later.
- In the View Administrator console, the Reclaim VM disk space option is selected for the vCenter Server. For more information, see Allow vSphere to Reclaim Disk Space in Linked-Clone Virtual Machines in the VMware Horizon View 5.2 Administration Guide.
- In the View Administrator console, the Reclaim VM disk space option is selected for the desktop pool. For more information, see Reclaim Disk Space on Linked-Clone Desktops in the VMware Horizon View 5.2 Administration Guide.
- The virtual machine is powered on before you initiate the space reclamation operation.
- There is space that can be reclaimed. This space exists when data is deleted from the guest OS. Sending files to the Recycle Bin does not delete them.
- The virtual machine is using SCSI disks.
- Change Block Tracking (CBT) is disabled on the parent virtual machine.
In vCenter Server tasks, you see the error:
Task: Wipe a Flex-SE virtual disk
Status: A general system error occurred: Wipe Disk failed: Failed to complete wipe operation.
VMware Tools has not been upgraded to the latest version provided with the host, which must be version 5.1 or later.
Upgrade the VMware Tools in the guest OS, then reboot the guest OS.
vmware.login the virtual machine folder contains messages similar to:
11-14T18:48:52.922Z| vcpu-0| I120: ToolsRpcDiskWipeProgress: progress response: No wipable disks found
11-14T18:48:52.922Z| vcpu-0| W110: DiskVigorWipeProgressCB: Wipe progress RPC Error: No wipable disks found
The virtual machine does not have SCSI disks.
The disk (the OS virtual disk in View) must be SCSI, not IDE. Space reclamation does not work on IDE virtual disks.
- When space reclamation is launched, you see this event in vCenter Server:
General system error: Wipe disk failed
- In the
vmware.logfile, you see messages similar to:
2012-11-22T19:53:16.006Z| vcpu-0| I120: ToolsRpcDiskWipeProgress: progress response: No wipable disks found
2012-11-22T19:53:16.006Z| vcpu-0| W110: DiskVigorWipeProgressCB: Wipe progress RPC Error: No wipable disks found
- In the VMware Tools log file, you see messages similar to:
[Nov 23 14:44:55.646] [ info] [vmsvc] Could not initialize backend for drive C:\: 50
[Nov 23 14:44:55.646] [ warning] [diskWiper] Mount point C:\ is not wipable
[Nov 23 14:44:55.646] [ info] [vmsvc] Device specifically advertises its NON-TP nature, bailing out.
[Nov 23 14:44:55.646] [ info] [vmsvc] Failed to get Initialize SCSI Backend TP Device \\.\PhysicalDrive2 status 50.
- When you run the
grep scsi *vmxcommand, you see output similar to:
$ grep scsi *vmx
scsi0:0.present = "TRUE"
scsi0:0.fileName = "wlabsetest1-checkpoint.vmdk"
scsi0:0.deviceType = "scsi-hardDisk"
scsi0:0.ctkEnabled = "TRUE"
CBT is enabled for the virtual machine.
If CBT is enabled on an SE sparse disk based pool, then space reclamation does not work.
To work around this issue, disable CBT on the parent virtual machine and recompose the pool.
Disable CBT for the OS disk (typically scsi0:0 ). For more information, see Enabling Changed Block Tracking (CBT) on virtual machines (1031873).
Note: Space reclamation only affects the OS disk, so disable the CBT on the OS disk only.
Frequently Asked Questions
Will the replica virtual machine use space efficient sparse (SE) virtual disks?
No. It does not grow, so shrink is not needed.
Is space reclamation a resource intensive task?
Yes. This is why it is only performed when there are considerable savings to be gained (the minimum is 1 GB of savings per virtual machine). Additionally, it is serialized as it is an important operation, but not urgent.
What happens if one host in the cluster is not 5.1? Will I be able to turn on the switch on vCenter Server for space reclamation?
You can enable space reclamation on the vCenter Server level. However, when you create an automated pool at pool level, it detects that you have a mixed ESXi environment and disallows the use of the space reclamation feature.
When you mark a virtual machine for space reclamation (using vdmadmin ), will the reclamation happen even if the space to be reclaimed is less than the established threshold?
Yes, it runs regardless of threshold.
Will the reclamation happen immediately?
Yes, it runs after a few minutes if blackout is not configured for the same period.
Is there any way to see how much space could be reclaimed for a virtual machine beforehand?
Can the wipe/shrink be initiated from the guest OS?
Can space reclamation be enabled on existing pools?
Yes. For more information, see the Horizon View Documentation Center.
vdmadmin -M sometimes has little or no output. Is there any way to make it verbose? And is there a log file for vdmadmin commands?
This feature allows you to disable space reclamation on all pools from a single place, rather than having to edit pool settings individually.
I have an existing pool. I want to enable space reclamation but it is grayed out. Why?
Click the question mark [?] character to display the reason.
If you see the error VM disk space reclamation is not available because space efficient disk format is disabled for this pool , see Can space reclamation be enabled on existing pools?
If I manually trigger space reclamation during the blackout window, will the reclamation happen?
No. The blackout window is respected even for manual reclamation tasks.
How do I know when the next reclamation task will happen?
Space reclamation runs once per day for the desktop. The broker has a background process to scan and calculate free space, and when the guest OS free space meets the threshold, it will run within the next two hours. Of course, space reclamation does not run during the blackout period.
Is space reclamation compatible with other storage technologies?
Space reclamation is not compatible with VAAI (vStorage API for Array Integration) introduced in View Manager 5.1.
These guidelines apply to the space reclamation feature:
- It operates only on space-efficient OS disks in linked clones.
- It does not affect View Composer persistent disks.
- It works only with vSphere 5.1 or later and only on desktops that are virtual hardware version 9 or later.
- It does not operate on full-clone desktops.
- It operates on virtual machines with SCSI controllers. IDE controllers are not supported.
- It operates on Windows XP and Windows 7 desktops only. It does not operate on Windows 8 desktops.