Creating a Storage Policy

Prerequisites

You must be a fabric manager to perform this task.

About this task

The expression for a storage policy can comprise the following parameters:

  • u denotes user.
  • g denotes group.
  • s denotes size. Append the value with the unit - b, k, m, g for bytes, KB, MB, or GB respectively.
  • m denotes last modified time. Append the value with the unit - s, d for seconds or days respectively
  • a denotes last accessed time. Append the value with the unit - s, d for seconds or days respectively.
Use & to add an AND condition and | to add an OR condition, to combine multiple parameter-value pairs.

Example: To offload data to cold tier for user jdoe, when storage size reaches 100 MB, and the last accessed time is 7 days, the expression is u:jdoe&s:100m&a:7d

Follow the steps given below to create a storage policy.

Procedure

  1. Log on to the Data Fabric UI.
  2. Click the Fabric administration icon on the left pane.
  3. Select from the Select fabric dropdown the fabric for which you wish to add the storage policy.
  4. On the Manage access tab, scroll down to the Storage policies card.
  5. Click Create storage policy.
  6. Enter the Name for the storage policy.
  7. Enter the expression for the storage policy.
  8. Click Create.

Results

The storage policy is created successfully when you enter valid values and units for the parameters specified in the policy.