Updated on 2023-08-04 GMT+08:00

Attaching an Existing System Disk

Scenarios

This section describes how to attach an existing system disk.

System disks can only be attached offline, which means that the server must be in the Stopped state.

You can view the disk function in the disk list. A disk can be attached to a server and used as the system disk only when its function is Bootable disk and its status is Available.

  • Bootable disks are the system disks detached from servers. A bootable disk can be re-attached to a server and be used as a system disk or data disk depending on the disk function selected.
  • Non-shared, yearly/monthly disks purchased together with or later added to a yearly/monthly ECS cannot be attached to other ECSs.

Procedure

  1. Log in to the management console.
  2. Choose Dedicated Distributed Storage Service > Disks.

    The disk list page is displayed.

  3. Locate the target disk in the list and click Attach in the Operation column.

    A disk can be attached to a server and used as system disk only when its function is Bootable disk and its status is Available.

  4. Select the server and then select a device name from the drop-down list. Ensure that the disk and server are in the same AZ and that the server is in the Stopped state.

    One device name can be attached with one disk only. For the mapping between device names displayed on the management console and those on the server, see What Is the Mapping Between Device Names and Disks? in the Elastic Cloud Server User Guide.

    Return to the disk list page. The disk status is Attaching, indicating that the disk is being attached to a server. When the disk function changes from Bootable disk to System disk and the disk status changes to In-use, the disk is successfully attached to the server.