Disk Function | Server Status | Scenarios | Operation Instruction |
|---|---|---|---|
System disk | Only offline detachment is supported. You can only detach a system disk when the server status is Stopped. |
| |
Data disk | Both online detachment and offline detachment are supported. You can detach a data disk when the server status is Stopped or Running. |
|
When the ECS status changes to Stopped, the ECS has been stopped.
The ECS details page is displayed.
The Detach Disk dialog box is displayed.
After the operation succeeds, the detached system disk is no longer displayed under the Disks tab.
in the upper left corner and choose Storage > Elastic Volume Service.The Elastic Volume Service page is displayed.
The disk details page is displayed.
to select the server and click Detach Disk.The Detach Disk dialog box is displayed.
The Detach Disk dialog box is displayed.
In the disk list, the disk status is Detaching, indicating that the disk is being detached from the server.
When the status changes to Available, the disk has been detached.
in the upper left corner and choose Storage > Elastic Volume Service.The Elastic Volume Service page is displayed.
The disk details page is displayed.
to select servers and click Detach Disk.Shared EVS disks support batch detachment, so you can select multiple servers at a time.
The Detach Disk dialog box is displayed.
The Detach Disk dialog box is displayed.
to select servers.Shared EVS disks support batch detachment, so you can select multiple servers at a time.
In the disk list, the disk status is Detaching, indicating that the disk is being detached from the server.
If a shared disk has been attached to multiple servers and you only detach it from some of the servers, the disk status will go back to In-use after the disk has been detached. The disk status changes to Available only after the disk has been detached from all the servers.