Updated on 2024-06-19 GMT+08:00

Expanding a Data Disk

As your business grows, more data disk capacity is needed.

This section describes how to expand a data disk on the MRS console.

If the cluster version is MRS 3.1.0 (patch 3.1.0.0.11 or a later patch must be installed), MRS 3.1.5 (patch 3.1.5.0.3 or a later patch must be installed), or MRS 3.3.0-LTS, expand the data disk capacity by referring to One-Click Data Disk Expansion.

If the cluster version is MRS 3.1.2-LTS.3 or MRS 3.2.0-LTS.1, you can expand the data disk capacity by referring to Manual Data Disk Expansion.

All data disks of selected nodes will be expanded.

Constraints

  • A data disk capacity can only be expanded, and cannot be reduced.
  • A data disk can be expanded to a maximum of 32 TB.
  • Local disks cannot be expanded.
  • System disks cannot be expanded.
  • Only the EVS disks, disk partitions, and file systems mounted to the cluster nodes by default during creation can be expanded.
  • The cloud server to which an EVS disk is mounted must be in the running state. The EVS disk must be in in-use or available state.

One-Click Data Disk Expansion

If the cluster version is MRS 3.1.0 (patch 3.1.0.0.11 or a later patch must be installed), MRS 3.1.5 (patch 3.1.5.0.3 or a later patch must be installed), or MRS 3.3.0-LTS, perform the following steps to expand the data disk capacity:

  1. Log in to the MRS console. On the Active Clusters page that is displayed, click the name of the desired cluster in the cluster list.
  2. On the MRS details page, click Nodes.
  3. Locate the node group where the target disk belongs, click Expand Data Disk Capacity in the Operation column.
  4. Select the nodes to be expanded, set the target capacity, and click OK.

    If there are a large number of nodes, you can fuzzy search for nodes by name or IP address, or filter nodes by data disk capacity.
    • The estimated price is based on the disk capacity displayed and may be inaccurate. You will be billed based on the actual disk capacity of the node. Synchronize the disk information before expanding for more accurate estimated price.
    • If the data disk of a node group has been expanded, same expansion will be performed for subsequent scale-out of the node group or cluster cloning.
    • When multiple nodes are selected for scale-out, some disks mounted to the nodes may have higher capacity than the target volume. In this case, the disks will not be expanded or billed.
    • Only the data disks mounted to a node by default during cluster creation can be expanded. For data disks mounted by yourself, only the EVS disks can be expanded. For details, see Extending Partitions and File Systems for Data Disks (Linux) or contact Huawei Cloud technical support.
    • When a disk partition or file system is being expanded, the additional capacity can be expanded only to the tail partition of the disk. A system disk has multiple partitions and cannot be expanded.

  5. Check whether the data disk is expanded.

    1. In the disk column, check whether the data disk is expanded to the target volume.
    2. Log in to FusionInsight Manager, view the disk information of the expanded node, and check whether the corresponding disk partition is expanded.

Manual Data Disk Expansion

For clusters of MRS 3.1.2-LTS.3, and MRS 3.2.0-LTS.1 versions, perform the following steps to expand data disks:

  1. Contact Huawei Cloud technical support to enable the data disk expansion function.
  2. Expand an EVS disk by referring to One-Click Data Disk Expansion.

    Only EVS disks can be expanded to the target volume. Disk partitions and file systems cannot be expanded automatically.

  3. Expand a disk partition and file system.

    Download the data disk expansion patches by referring to Patch Download Addresses. Expand a disk partition and file system by referring to the README.md file in the patch description.

  4. If there is a data disk mounted by a user and the disk partition and file system cannot be expanded, handle the problem by referring to Extending Partitions and File Systems for Data Disks (Linux) or contact Huawei Cloud technical support.

Patch Download Addresses