When can I enable the lifecycle management feature?

You can enable the lifecycle management feature if the files in a General-purpose Apsara File Storage NAS file system are accessed less than twice per month. You can enable the lifecycle management feature to save costs. The files that meet a specified lifecycle management policy are automatically transferred to the Infrequent Access (IA) storage medium. In this case, the billing method for the IA storage medium is adopted.

Why am I unable to configure lifecycle management policies for my file system?

You cannot enable the lifecycle management feature or configure lifecycle management policies if the General-purpose NAS file system is created before June 1, 2020. The lifecycle management feature is unavailable for General-purpose NAS file systems that use the Server Message Block (SMB) protocol or whose data encryption feature is enabled. In the Product Announcement section of the NAS console, you can view the updates of the lifecycle management feature.

How do I configure lifecycle management polices?

To configure lifecycle management policies, use the NAS console or OpenAPI Explorer. For more information, see Manage a lifecycle management policy and API reference for lifecycle management policies.

When is a file transferred to the IA storage medium?

A file is transferred to the IA storage medium only if the file meets the following conditions:
  • A lifecycle management policy is configured for the directory where the file resides.
  • The size of the file is at least 64 KB.
  • The file is not accessed during the period of time that is specified in the lifecycle management policy.
    When you create a lifecycle management policy, you can specify a rule to transfer the files that are not accessed for 14 days, 30 days, 60 days, or 90 days to the IA storage medium. The lifecycle management feature can check whether a file is not accessed for a period of time based on the last access time (atime) of the file.
    • The following operations update the atime of a file:
      • Read data from the file
      • Write data to the file
    • The following operations do not update the atime of a file:
      • Rename the file
      • Modify the user, group, mode, or other attributes of the file

What happens if multiple lifecycle management policies are configured for a single directory?

The files in the directory are transferred to the IA storage medium if the files meet a rule in one of the lifecycle management policies.

What happens if the lifecycle management policies that are configured for a directory and its subdirectory are different?

The files in the subdirectory are transferred to the IA storage medium based on both policies.

For example, if a policy whose atime threshold is 60 days is configured for a directory and a policy whose atime threshold is 14 days is configured for the subdirectory, the files in the subdirectory that are not accessed for 14 days are transferred to the IA storage medium. Then, the files in the IA storage medium are skipped when the lifecycle management feature checks for infrequently accessed files based on the policy of the parent directory.

Is a lifecycle management policy valid for all data in the specified directory?

Yes, a lifecycle management policy is valid for all data in the specified directory. If the file data in the directory meets the lifecycle management policy, the data is automatically transferred to the IA storage medium.

How long does a lifecycle management policy require to take effect?

A lifecycle management policy requires less than 2 hours to take effect. Therefore, the first file that meets a rule in the policy is transferred to the IA storage medium within 2 hours after the policy is configured.

How is the lifecycle management feature affected if a directory is renamed?

If you rename a directory for which a lifecycle management policy is configured, the lifecycle management policy no longer applies to the files in the directory. The files in the IA storage medium remain in the IA storage medium.

If you configure a lifecycle management policy for the renamed directory, the files in the directory that meet the rule in the policy are transferred to the IA storage medium.

What happens if a lifecycle management policy is deleted?

The files in the directory for which the policy is configured will no longer be transferred to the IA storage medium. The files in the IA storage medium remain in the IA storage medium.

Are the files in a directory repeatedly transferred to the IA storage medium if a policy is deleted and reconfigured for the directory?

No, the files are not repeatedly transferred to the IA storage medium. After you reconfigure the policy, the lifecycle management feature checks for files that meet a rule in the policy. The files in the IA storage medium are skipped in the check. This prevents repeated file transfers.

Are the files in the IA storage medium accessible?

Yes, you can read and write the files in the IA storage medium the same way as you read and write other files in a file system.