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

Attaching a Disk

After creating a disk, you need to attach it to BMSs. The BMSs use the disk as a data disk.

Context

Pay attention to the following restrictions when attaching disks:

  • The disk is in the Available or In use state, and the number of attached BMSs is smaller than 16.
  • A disk can be attached to a maximum of 16 BMSs.
  • The BMSs to which a non-preferred disk is attached are automatically identified by the system, and cannot be manually specified.
  • You can view the maximum number of disks that can be attached to a BMS on the BMS management console.

Procedure

  1. Log in to the management console. For details, see Logging In to the Management Console.
  1. Click and select the wanted region.
  1. Search for a desired disk using any of the following methods:

    • Method 1: Via the disk-residing DESS device
      1. Click and choose Dedicated Cloud > Dedicated Enterprise Storage to go to the DeC management console.
      2. In the row of the desired DESS device, click the number in the Number of Disks column to go to the Disks tab page.

        The disk tab page lists the disks of the DESS device.

      3. Set the search criteria to look for the desired disk.
    • Method 2: Via the disk-residing HyperMetro resource
      1. Click and choose Dedicated Cloud > Dedicated Enterprise Storage to go to the DeC management console.
      2. On the navigation pane on the left, choose Dedicated Enterprise Storage > HyperMetro to go to the HyperMetro resource list page.

        By default, HyperMetro resources in all statuses are listed.

      3. Use any of the following methods to display the disk list:
        • Method 1
          1. Click next to the resource name to view the HyperMetro resource details.
          2. In the row of the desired DESS device, click the number in the Number of Disks column to go to the Disks tab page.

            The disk tab page lists the disks of the HyperMetro resource.

        • Method 2
          1. In the row of the wanted HyperMetro resource, click the DESS device name in the Associated DESS Devices column to go to the device details page.
          2. In the row of the desired DESS device, click the number in the Number of Disks column to go to the Disks tab page.

            The disk tab page lists the disks of the DESS device.

      4. Set the search criteria to look for the desired disk.
    • Method 3: From the disk list of all DESS devices
      1. Click and choose Storage > Dedicated Enterprise Storage Service to go to DESS Console.
      2. Set the search criteria to look for the desired disk.

  2. Attach the disk using either of the following methods:

    • Method 1: In the row of the disk, click Attach. The Attach Disk dialog box is displayed.
    • Method 2: Click the disk name. On the Disk Details page that is displayed, click the Mounting Point tab and then Attach. The Attach Disk dialog box is displayed.

  3. Select the desired BMSs.

    The page automatically queries the BMS that the disk can be attached to. The displayed information includes name/ID, status, flavor, image, private IP address, and AZ.

  4. Click OK.

    A message is displayed indicating that the command for attaching the disk is successfully delivered.

Follow-Up Procedure

After attaching disks on a common I/O, high I/O, or ultra-high I/O DESS device, you can log in to the BMSs to initialize your disks.

After attaching disks on a common I/O (low latency), high I/O (low latency), or ultra-high I/O (low latency) DESS device, you can log in to the BMSs, run the hot_add command to find the disks that have been attached, and initialize your disks.

For detailed operations, see Initializing a Data Disk.