Automated Deduplication Tasks (Post-Processing)
Two automated tasks are automatically configured for each deduplication pool that is created: Mount Dedup VHD and Run Deduplicaton. The tasks assist in the creation and maintenance of deduplication pools.
The script files and tasks described in this section are required to create and maintain the deduplication pool properly and should not be altered in any way.
Mount Dedup VHD
If the Deduplication Volume (VHD file) becomes unavailable for any reason, such as after a DataCore Server restart, the operating system will not automatically remount the Deduplication Volume. When a monitor detects that the state of the Deduplication Volume created from the storage source pool reaches the Healthy state, the PowerShell script MountVHD.ps1 is invoked to remount the volume.
Run Deduplication
Certain events can cause previously deduplicated data to "inflate" to full size. This task runs a high priority deduplication and prevents inflation so that the physical storage used to create the deduplication pool is not exceeded. (See Oversubscription and Inflation.)
The task has a trigger configured to monitor the available space threshold for the storage source pool. The task will be triggered when the monitored available space on the storage source pool falls below the Attention threshold (is greater than Healthy) as configured in the pool settings. When this happens, the PowerShell script RunDeDupJob.ps1 is automatically invoked to quickly deduplicate the inflated data.
A high priority task will consume all resources necessary to quickly deduplicate the pool and creates a significant workload on the system.
Details for tasks (such as last start time and the last stop time) can be viewed from the Tasks tool in the SANsymphony Management Console.