This topic describes how to use the lifecycle management feature of Apsara File Storage NAS. In the NAS console, you can create, view, modify, and delete lifecycle management policies. You can also view the lifecycle information of a file system.

Background information

NAS lifecycle management allows you to transition data that is not accessed for a certain period of time to a lower-cost storage class named Infrequent Access (IA).

View lifecycle management policies

  1. Log on to the NAS console.
  2. In the left-side navigation pane, choose Data Service > Life Cycle Management. On the Life Cycle Management page, view all the lifecycle management policies in the current region.

View the lifecycle information of a file system

Method 1: On the Life Cycle Management page, enter a file system ID in the search bar. Then, the lifecycle management policies that are applied to the file system are displayed.

Method 2: Go to the details page of a file system. In the Basic Information section, click Configure policies. Then, you are redirected to the Life Cycle Management page. On the page, the lifecycle management polices that are applied to the file system are displayed. You can also view Infrequent Acess Storage Usage on the details page of the file system.

Create a lifecycle management policy

On the Life Cycle Management page, click Create Policy. In the Create Lifecycle Management Policy dialog box, set the required parameters.Create a lifecycle management policy
Parameter Required Description
Policy Name Yes The name must be 3 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
Hierarchical Storage Type NA Infrequent Access storage: Cold data is automatically transitioned to the IA storage class.
File System Yes Select a file system from the drop-down list.
Note The list contains file systems that are created after 00:00:00 on June 1, 2020 (UTC).
Directory Path Yes The path of the directory for which you want to create a lifecycle management policy. The path must start with a forward slash (/). If the directory is moved to a new path, the policy still applies to the original path.
Management Rules Yes The default rules that are available in lifecycle management polices are listed as follows:
  • More than 14 days from the most recent access
  • More than 30 days from the most recent access
  • More than 60 days from the most recent access
  • More than 90 days from the most recent access

Modify a lifecycle management policy

On the Life Cycle Management page, find the target lifecycle management policy, and click Modify in the Operations column. You can modify only the Management Rules parameter. Other parameters cannot be modified.

Delete a lifecycle management policy

On the Life Cycle Management page, find the target lifecycle management policy, and choose Delete > OK. The data that is transitioned to the IA storage class remains in the IA storage class.