Configuring Space Reclaiming

Prev Next

An Automatic Space Reclaiming (Space Reclaiming) policy replaces replicated files on the source volume with nearline files.

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.

Optionally, configure additional parameters for space reclaiming:

  • Used space thresholds (%) — (Default: 0) Reclaims space when the configured percentage of 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.
WCN begins queuing files for space reclamation with the files that are least recently accessed.
  • Processes triggering file retrieval — 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 can trigger file retrieval. For more detail, refer to Configuring Process Filtering
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.

You can configure and apply a global Space Reclaiming policy to any source-target pair that does not have an existing Space Reclaiming policy assigned. You can overwrite the global Space Reclaiming policy for a given source or disable Space Reclaiming for a specific pair. When any local policy is deleted, the source inherits the global policy. When the reclaim space policy is disabled, it instructs WCN to "NEVER reclaim". This enables you to set up a global policy for all your sources, while ensuring that a particular source does not reclaim at all.

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
  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 have been applied and that all WCN is now 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 have been applied and that all WCN is now 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 have been applied and that all WCN operations are paused. Click OK.
  7. To resume operations, click Wasabi Cloud NAS.
  8. Click Resume.

Disabling Space Reclaiming

  1. Select the source.

  2. Click Reclaim space Policy
  3. To disable the Space Reclaiming policy, click the Enabled checkbox.

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

Deleting a Space Reclaiming Policy

To make the source use the global Space Reclaiming policy set for all sources, delete the Space Reclaiming policy. If you do not want the source Space Reclaiming at all, disable the 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

Configure Process Filtering to determine when to trigger file retrieval from the bucket. You can either create a list of processes that are permitted to trigger retrieval or create a list of processes that are prohibited from triggering the retrieval of nearline files. To do so, follow the steps below.

  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,click in the type field and enter a process.
    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, click in the type field and enter a process.
    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 have been applied and that all WCN is now paused. Click OK.
  11. To resume WCN operations, click Wasabi Cloud NAS.
  12. Click Resume.