Updated on 2024-08-08 GMT+08:00

Deleting an EVS Disk

Scenarios

If an EVS disk is no longer used, you can delete the disk to release the virtual resources. When a disk is deleted, EVS immediately destroys the metadata to ensure that data can no longer be accessed. In addition, the physical storage space of the disk is reclaimed and cleared before being re-assigned. For any new disk created based on the re-assigned physical space, before data is written to the disk, EVS returns zero for all the read requests to the disk.

When deleting a disk, you can choose not to delete the disk immediately, but move it to the recycle bin to prevent any data loss that may be caused by unintended operations. The recycle bin function is disabled by default. If you need to use this function, enable it on the console. For details, see Enabling the Recycle Bin.

Yearly/Monthly disks cannot be deleted. You can unsubscribe from them if needed. System disks must be unsubscribed from together with their servers. For how to unsubscribe from data disks, see Table 1.

Table 1 Unsubscription scenarios of data disks

Unsubscription Scenario

Sub-scenario

Reference

Unsubscribing from non-shared, yearly/monthly data disks that were purchased together with or later added to a yearly/monthly server

Unsubscribing from data disks when unsubscribing from the server

Unsubscribing from an ECS

Unsubscribing from data disks separately

Unsubscribing from a Yearly/Monthly Disk on the EVS Console

Unsubscribing from a Yearly/Monthly Disk on the ECS Console

Unsubscribing from shared, yearly/monthly data disks that were purchased together with or later added to a yearly/monthly server

Unsubscribing from data disks separately

Unsubscribing from a Yearly/Monthly Disk on the EVS Console

You will be not billed for a disk after it is deleted or unsubscribed from.

Notes and Constraints

  • The disk status is Available, Error, Expansion failed, Restoration failed, or Rollback failed.
  • The disk is not locked by any service.
  • The shared disk has been detached from all its servers.
  • The disk is not added to any replication pair in the Storage Disaster Recovery Service (SDRS). For any disk already added to a replication pair, you need to first delete the replication pair and then delete the disk.
  • Yearly/Monthly system disks cannot be unsubscribed from separately. They must be unsubscribed from together with their servers.
  • Non-shared, yearly/monthly data disks purchased together with or later added to a yearly/monthly server have the same expiration time as the server. They can be unsubscribed from together with the server or separately when their statuses are In-use, Available, or Error.
  • Yearly/Monthly data disks purchased on the EVS console have different expiration times as the server. They can be unsubscribed from separately.

When you delete a disk, all the disk data including the snapshots created for this disk will be deleted.

A deleted disk cannot be recovered.

  1. Log in to the management console.
  2. Click in the upper left corner and choose Storage > Elastic Volume Service.

    The Elastic Volume Service page is displayed.

  3. In the disk list, locate the row that contains the target disk, click More in the Operation column, and choose Delete.
  4. (Optional) If multiple disks are to be deleted, select in front of each disk and click Delete in the upper area of the list.
  5. On the displayed page, confirm the deletion information.

    • If operation protection is enabled, select a verification method and obtain and enter the verification code.

      Supported verification methods include SMS, email, virtual MFA device. If none of these are associated, click Associate.

    • If operation protection is not enabled, enter DELETE in the text box below.

    For details about how to enable or disable operation protection, see Operation Protection.

  6. Click OK.
  1. Log in to the management console.
  2. Click in the upper left corner and choose Storage > Elastic Volume Service.

    The Elastic Volume Service page is displayed.

  3. In the disk list, locate the target disk and choose More > Unsubscribe in the Operation column.

    If the Unsubscribe button is grayed out, detach the disk and then unsubscribe from it.

  4. On the Unsubscribe from Resource page, confirm the information and select the reason for unsubscription. After confirming the information, select "After being unsubscribed from, the resources not in the recycle bin will be deleted immediately and cannot be restored. I've backed up data or no longer need the data" and click Confirm.
  5. Confirm the disks you want unsubscribe from and delete and click Confirm.
  • When you unsubscribe from a server, the yearly/monthly data disks purchased together with the server and those added later will also be unsubscribed from. For details, see Unsubscribing from an ECS.
  • To unsubscribe from non-shared data disks separately, perform the following steps:
  1. Log in to the management console.
  2. Click . Choose Compute > Elastic Cloud Server.

    The ECS console is displayed.

  3. In the server list, locate the target server, choose More > Change in the Operation column.
  4. In the displayed dialog box, select Delete Disk.

    Figure 1 Selecting a change type

  5. Select the disks you want to delete and click Next.
  6. On the deletion page, confirm the information, select "I understand a handling fee will be charged for this unsubscription", and click Submit.

Helpful Links

For more deletion FAQs, see Deletion.