You must detach all EVS data disks from the ECS before using it to create a private image. Otherwise, new ECSs created using the private image may be unavailable.
This section describes how to detach data disks from an ECS.
You have logged in to the ECS.
/dev/xvde1 on /mnt/test type ext4 (rw)
Run the following command to detach the disks:
The /etc/fstab file contains information about the file systems and storage devices automatically attached to the ECS when the ECS starts. The configuration about data disks automatically attached to the ECS needs to be deleted, for example, the last row shown in the following figure.
If the command output contain no information about the data disks, they have been detached from the ECS.