Updated on 2022-12-20 GMT+08:00

Attaching a Non-Shared Disk

Scenarios

Independently created EVS disks are data disks. In the disk list, the function of such disks is displayed as Data disk, and the status is displayed as Available. In this case, you need to attach the data disks to servers for use.

This section describes how to attach a non-shared disk. A non-shared disk can be attached to one server only.

Constraints

Cloud servers created from ISO images are only used for OS installation. They have limited functions and cannot have EVS disks attached.

Attaching the Disk on the EVS Console

  1. Log in to the management console.
  2. Under Storage, click Elastic Volume Service.

    The disk list page is displayed.

  3. Locate the target disk in the list and click Attach.
  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.
  5. Click OK. A dialog box is displayed, showing "The attaching process is NOT completed yet. You must initialize the disk before using it".
  6. Click OK to return to the disk list page. The status of the disk is Attaching, indicating that the disk is being attached to the server. When the disk status changes to In-use, the disk is successfully attached.
  7. Initialize the disk.

    After the disk has been attached to a server, the disk can be used only after you have initialized it. For details, see Introduction to Data Disk Initialization Scenarios and Partition Styles.

Follow-Up Operations

If you are attaching a new disk, you must then log in to the server and initialize the disk before it can be used. To learn how to initialize disks, see Introduction to Data Disk Initialization Scenarios and Partition Styles.