Updated on 2022-02-21 GMT+08:00

Attaching a Shared Disk

Scenarios

Independently purchased 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 topic describes how to attach a shared DSS disk to servers. A shared DSS disk can be attached to a maximum of 16 servers.

Procedure

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

    The storage pool list is displayed.

  3. Choose Dedicated Distributed Storage Service > Disks.

    The disk list page is displayed.

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

    Shared disks support batch attachment so that you can attach a shared disk to multiple servers at a time. The left area in the Attach Disk dialog box shows the server list. After you select the target servers, the selected servers will be displayed in the right area.

  5. Select servers and select a device name from the drop-down list for each server you selected. Ensure that the disk and servers are in the same AZ.

    One device name can be attached with one disk only. If a device name has been used, it will no longer be displayed in the drop-down list and cannot be selected.

    Return to the disk list page. The disk status is Attaching, indicating that the disk is being attached to the servers. When the disk status changes to In-use, the disk is successfully attached.

    If you simply attach a shared disk to multiple servers, files cannot be shared between the servers as shared DSS disks do not have the cluster capability. Therefore, build a shared file system or deploy a cluster management system if you need to share files between servers.