Configuring Space Reclaiming

Prev Next

Automatic Space Reclaiming (Space Reclaiming) is a user-defined policy that enables WCN to free up space on the source by replacing a replicated file with a nearline file. Space Reclaiming is commonly used for the alignment of data with storage costs. 

When configuring a Space Reclaiming policy, you will set two parameters:

  • File size
  • Time interval for which the file has not been accessed

For example, if the file size threshold is set to 10MB and the time interval is two weeks, WCN will replace all replicated files over 10MB in size that are not accessed for a minimum of two weeks. All other files on the source (with size 10MB or less and the replicated files with 10MB or more) that are not accessed by a user in less than two weeks will not be reclaimed. By default, WCN replaces any file that has not been accessed for more than four weeks, regardless of the file size.

A global Space Reclaiming policy governs all source-target pairs, while a Space Reclaiming policy assigned to a specific source-target pair overwrites the global policy. If both policies are configured, the global Space Reclaiming policy will govern all source-target pairs that do not have an specific Space Reclaiming policy assigned.

Optionally, configure Processes triggering file retrieval to determine which processes can trigger file retrieval.

You can manually retrieve files and reclaim space using the WCN shell extension. When initiated, the manual operation takes precedence over any automatically scheduled tasks or policies.
WCN begins queuing files for space reclamation with the files that are least recently accessed.
With a NAS source, nearline files are located in the shadow copy folder and not on the network share. However, file retrieval pulls the actual data directly from the NAS source.
Space cannot be reclaimed for certain file formats, such as EXE, DLL, SYS, COM, CPL, MSI, and OCX. This list can be configured using the reclaim_space_filter registry key on the source where the WCN software is installed.

Configuring the Global Space Reclaiming Policy

  1. Click Wasabi Cloud NAS.
  2. Click Add policy.
  3. In the Policy type window, select Reclaim space.
  4. Click OK.
  5. In the right pane, configure the following parameters:
    • Offload files not accessed for more than—(required) File time interval 
    • And if files are larger than—(optional) File size
    • When used space exceeds—(optional) Threshold for used space
    • Ignore above criteria if used space exceeds—(optional) Percentage

      Used space thresholds reclaim space when the configured space threshold is reached. You can increase the used space threshold or specify the maximum used space threshold on your source. The maximum used space threshold specifies when all files subject to replication are queued for replacement with nearline files, regardless of their size and last access time. By default, the maximum used space value is set to 90% for all source volumes.

  6. To specify the file access time, enter a number.
  7. Click the drop-down to select a unit of the time.
  8. Optionally, configure file size. Enter a number and select a file size unit.
  9. Optionally, configure used space thresholds. Enter a percentage in the type field.
  10. Optionally, configure Ignore above criterias if used space exceeds. Enter a percentage in the type field.
  11. Click Apply All.
  12. A message will notify you that the changes were applied and that WCN operations are paused. Click OK.
  13. To resume WCN operations, click Wasabi Cloud NAS.
  14. Click Resume.

Overwriting the Global Space Reclaiming Policy for a Specific Source

When you assign a Space Reclaiming policy to a specific source, you will overwrite the global Space Reclaiming policy for the selected source. To configure a Space Reclaiming policy for a specific source, follow the steps below.

Only one Space Reclaiming policy can be added to a source. If the selected source already has a Space Reclaiming policy assigned, you can only edit the policy.  
  1. Select a source.
  2. Click Add Policy.
  3. In the Policy Type window, select Reclaim space.
  4. Click OK.
  5. In the right pane, configure the following parameters:
    • Offload files not accessed for more than—(required) File time interval 
    • And if files are larger than—(optional) File size
    • When used space exceeds—(optional) Threshold for used space
    • Ignore above criterias if used space exceeds—(optional) Percentage
  6. Click Apply All.
  7. A message will notify you that the changes were applied and that WCN operations are paused. Click OK.    
  8. To resume operations, click Wasabi Cloud NAS.
  9. Click Resume.

Editing a Policy

  1. To edit a Space Reclaiming policy for a specific source, select the source.
  2. Select Reclaim space Policy.
  3. Optionally, to edit a global Space Reclaiming policy, click Reclaim space policy
  4. Modify the parameters, as needed.
  5. Click Apply All.
  6. A message will notify you that the changes were applied and that WCN operations are paused.Click OK.
  7. To resume operations, click Wasabi Cloud NAS.
  8. Click Resume.

Disabling Space Reclaiming

When a reclaim space policy is disabled for a source, WCN will not reclaim space for that source at all. 

  1. Select the source.
  2. Click Reclaim space Policy
  3. To disable the Space Reclaiming policy, uncheck Enabled.

  4. Click Apply All.
  5. A message will notify you that the changes were applied and that WCN operations are paused. Click OK.
  6. To resume operations, click Wasabi Cloud NAS.
  7. Click Resume.

Deleting a Space Reclaiming Policy

When you delete the Space Reclaiming policy for a specific source, the source will use the global Space Reclaiming policy. Wasabi recommends that you do not delete the global policy. You can modify the policy parameters, if needed.
  1. To delete a policy for a specific source, select the source.
  2. Select Reclaim space Policy.
  3. Optionally, to delete a global policy, click Replication Policy.
  4. Click Delete policy.
  5. A message will request that you confirm the deletion. Click OK.
  6. Notice that WCN is in a Paused state. To resume WCN operations, click Wasabi Cloud NAS.
  7. Click Resume.

Configuring Process Filtering

Process Filtering determines when to trigger file retrieval from the bucket. By default, any process that attempts to open a nearline file on the source volume triggers the file retrieval from the bucket. To prevent unnecessary retrieval of nearline files by your antivirus software, specify which processes are:

  • Permitted to trigger retrieval
  • Prohibited from triggering the retrieval of nearline files

  1. Click Global Settings.
  2. Click Process filtering.

    You will be presented with the Process Filtering dialog box, as shown below.

  3. Define which processes are allowed to trigger automatic retrieval of nearline files from the target. To do so, enter a process in the type field.
    If you create a list of processes that can trigger nearline file retrieval from the bucket, any process not included in the list will not trigger the operation when this process attempts to open the file.
  4. Optionally, define which processes are prohibited from automatically triggering the retrieval of nearline files from the target. To do so, enter a process in the type field.
    If you specify the processes that are not allowed to trigger file retrieval from the bucket, any process not mentioned in the list will trigger the nearline file retrieval when this process attempts to open that file.
  5. To add an new line item, click "+".
  6. Optionally, to delete the last line item, click "-".
  7. Once complete, click OK.
  8. Click Apply All.
  9. A message will notify you that WCN must restart to apply the changes. Click Yes.
  10. A message will notify you that the changes were applied and that WCN operations are paused. Click OK.
  11. To resume WCN operations, click Wasabi Cloud NAS.
  12. Click Resume.