No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


FusionStorage V100R006C20 Block Storage Service Software Installation Guide 07

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
(Optional) Mounting a Metadata Partition

(Optional) Mounting a Metadata Partition


If the planned metadata is deployed on a physical partition of a disk other than an operating system disk, perform the operations in this section to mount the metadata partition to nodes in the control cluster.

Any device used as a metadata partition cannot be used as the cache or main storage.



You have installed an operating system (OS) for the server.


You have obtained the management IP address of the server.


    Deploying metadata using physical partitions

    1. Log in to a storage node in the control cluster.

      Ensure that the management IP address and user root are used to establish the connection.

    2. Run the fdisk -l command to query the drive letter of the devices to be partitioned.

      The following uses an SSD card as an example. The drive letter starts with hio, for example, /dev/hioa.

    3. Run the parted /dev/hioX command to enter the partitioning operation mode.
    4. Run the mklabel label-type command and enter gpt to configure the GUID Partition Table.
    5. Enter p to query the device partition.

      If the device is not partitioned, information similar to the following is displayed:

      Model: Unknown (unknown)
      Disk /dev/hioa: 2409GB
      Sector size (logical/physical): 512B/512B
      Partition Table: gpt
      Number  Start  End     Size    Type     File system  Flags

    6. Run the following command to allocate the metadata partition from the primary partition with a capacity of 65 GB:

      mkpart primary 0 65G

      When the following information is displayed, enter Ignore.

      Warning: The resulting partition is not properly aligned for best performance.

    7. After the partition is allocated, enter p to query the partition.

      An example of the partition is as follows:

      Model: Unknown (unknown)
      Disk /dev/hioa: 2409GB
      Sector size (logical/physical): 512B/512B
      Partition Table: gpt
      Number  Start  End     Size    Type     File system  Flags
       1      512B   65.0GB  65.0GB  primary

    8. Record the allocated metadata partition name.

      As shown in the preceding example, the partition ID is 1, the disk name is /dev/hioa, and the metadata partition name is /dev/hioa1.

    9. After partitioning is complete, enter q to exit the parted partitioning tool.
    10. Restart the server to make the configuration take effect.

    Mount the metadata partition.

    1. Log in to a node in the control cluster as user root.
    2. On the remote control page of the server you have logged in as user root, run the following command to create a metadata partition directory:

      mkdir -p /opt/zk_disk

    3. Run the following command to format the metadata partition:

      mkfs.ext3 Metadata partition name

      The metadata partition name is the value you have obtained in 8 . For example, run the mkfs.ext3 /dev/hioa1 command.

    4. Run the following command to mount the metadata partition:

      mount Metadata partition name /opt/zk_disk

      For example, run the mount /dev/hioa1 /opt/zk_disk command.

    5. Run the df -hl command to query the partition mounting result.

      Information similar to the following is displayed:

      [root@storage_node]# df -hl
      Filesystem      Size  Used Avail Use% Mounted on
      /dev/hioa1       56G  180M   53G   1% /opt/zk_disk

    6. Allocate metadata partitions and mount them to respective control cluster nodes. For details, see 1 to 15.

      After mounting metadata partitions and before creating FusionStorage Block storage pools, do not restart the control cluster nodes. Otherwise, the mounted metadata partitions will be lost.

Updated: 2019-06-29

Document ID: EDOC1100016637

Views: 27272

Downloads: 18

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next