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

Reminder

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

upgrade
Advanced O&M Command Reference
OceanStor 2800 V5 V500R007

This document is applicable to OceanStor 2800 V5. Based on the CLI, this document describes how to use various commands classified by functions and how to set the CLI and manage the storage system through these commands. The document that you browse online matches the latest C version of the product. Click Download to download documents of other C versions.

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).
change disk_domain stripe_verify_restore

change disk_domain stripe_verify_restore

Function

The change disk_domain stripe_verify_restore command is used to restore stripe consistency.

Format

change disk_domain stripe_verify_restore disk_domain_id=? [ run_state=? ]

change disk_domain stripe_verify_restore disk_domain_id=? [ ckg_object_id=? ] [ ckg_lba=? ] [ length=? ]

change disk_domain stripe_verify_restore disk_domain_id=? [ ckg_object_id=? ]

change disk_domain stripe_verify_restore disk_domain_id=? [ run_state=? ] [ tier_id=? ]

Parameters

Parameter

Description

Value

disk_domain_id=? Disk domain ID.

To obtain the value, run the "show disk_domain general" command in guest mode.

run_state=? Running status of stripe consistency restoration.

The value can be "start", "stop", or "restart", where:

  • "start": starts stripe consistency restoration.
  • "stop": stops stripe consistency restoration.
  • "restart": clears the progress of the last stripe consistency restoration and restarts the restoration.
ckg_object_id=? Chunk group ID.

To obtain the value, run the "ckgiof luntrans" command in the diagnose view of the developer mode.

ckg_lba=? Offset in a CKG.

The value depends on the size of the chunk group, expressed in sectors.

length=? Length of the stripe to be restored.

The value depends on the size of the chunk group, expressed in sectors.

tier_id Tier ID.

The value can be "SSD", "SAS", or "NL_SAS", where:

  • "SSD": SSD tier.
  • "SAS": SAS tier.
  • "NL_SAS": NL-SAS tier.

Views

Developer view

Usage Guidelines

In the case of disk log loss, running this command can:

  • Restore stripe consistency in all the allocated space in the disk domain.
  • Restore stripe consistency in a specified tier of the disk domain.
  • Restore stripe consistency in a specified chunk group.
  • Restore stripe consistency in a certain extent in the chunk group.

Before running this command, ensure that no events indicating that a disk is removed or faulty are reported. If such events exist, run this command after reconstruction of the disk is complete.

Example

  • Restore stripe consistency in all tiers of the disk domain. Before running this command, ensure that the reconstruction task is complete, disk domain ID is "0", no events indicating that a disk is removed or faulty are reported, and no data reconstruction or copy tasks exist in the disk domain.

    developer:/>change disk_domain stripe_verify_restore disk_domain_id=0 run_state=start
    DANGER: You are about to repair inconsistent stripes in disk_domain. This operation repairs parity data for RAID 3, 5, and 6 and does not change data bits. For RAID 10, this operation selects a disk in the mirror group, uses data on the disk to repair other disk in the mirror group, and restores stripe consistency after the repair. However, data accuracy cannot be ensured. If disk out or fault events occur during the repair, data may be lost.
    Suggestion: Confirm the operation before performing it.
    Have you read danger alert message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.
  • Restore stripe consistency in the SSD tier of the disk domain. Before running this command, ensure that the reconstruction task is complete, disk domain ID is "0", no events indicating that a disk is removed or faulty are reported, and no data reconstruction or copy tasks exist in the disk domain.

    developer:/>change disk_domain stripe_verify_restore disk_domain_id=0 run_state=start tier_id=SSD
    DANGER: You are about to repair inconsistent stripes in disk_domain. This operation repairs parity data for RAID 3, 5, and 6 and does not change data bits. For RAID 10, this operation selects a disk in the mirror group, uses data on the disk to repair other disk in the mirror group, and restores stripe consistency after the repair. However, data accuracy cannot be ensured. If disk out or fault events occur during the repair, data may be lost.
    Suggestion: Confirm the operation before performing it.
    Have you read danger alert message carefully?(y/n)y
    Are you sure you really want to perform the operation?(y/n)y
    Command executed successfully.

System Response

None

Translation
Download
Updated: 2020-03-19

Document ID: EDOC1000181575

Views: 787152

Downloads: 37

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next