You can enable the delete automatic snapshots when releasing a disk feature to delete automatic snapshots of a disk when the disk is released and reduce the amount of disk space occupied by snapshots.

Prerequisites

Procedure

  1. Log on to the ECS console.
  2. In the left-side navigation pane, choose Storage & Snapshots > Disks.
  3. In the top navigation bar, select a region.
  4. Find the cloud disk for which you want to enable the feature, choose More > Modify Disk Property in the Actions column.
  5. In the Modify Disk Property dialog box that appears, select or clear Delete Automatic Snapshots While Releasing Disk.

    Delete Automatic Snapshots While Releasing Disk
    Note When you clear Delete Automatic Snapshots While Releasing Disk, the retention period of the automatic snapshot policy applies. You can also modify the retention period of the automatic snapshot policy. For more information, see Modify an automatic snapshot policy.
  6. Click OK.