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 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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).
spa crccheck

spa crccheck

Function

The spa crccheck command is used to perform the CRC verification on the metadata.

Format

spa crccheck -o object type -p pool id -a app type { -v volume id | -t tier type | -d disk logic id }

spa crccheck -q query running result { -o object type | -p pool id | -a app type | -v volume id | -t tier type | -d disk logic id }

Parameters

Parameter

Description

Value

object type

Object type.

To obtain the value, run the "spa crccheck -h" command.

pool id

Disk domain ID.

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

app type

Metadata type.

The value can be "0" or "1", where:

  • "0": Metadata.
  • "1": Data.

volume id

Volume ID.

To obtain the value, run the "spa queryvolcap" command.

tier type

Tier type.

The value can be "0", "1", or "2", where:

  • "0": SSD.
  • "1": SAS.
  • "2": NL-SAS.

disk logic id

Disk logical ID.

To obtain the value, run the "ld showspecld" command.

query running result

Query result.

-

Views

Diagnostic view

Usage Guidelines

You can run the "spa crccheck -o object type -p pool id -a app type { -v volume id | -t tier type | -d disk logic id }" command to perform the CRC verification on the metadata object. Then, the system automatically starts the CRC verification. You can run the "spa crccheck -q query running result { -o object type | -p pool id | -a app type | -v volume id | -t tier type | -d disk logic id }" command to query the CRC verification progress and result.

Example

  • Perform the CRC verification on the metadata object whose type is "11".
    admin:/diagnose>spa crccheck -o 11 -p 0 -t 1 -a 0 
      Begin checking. Please input -q to query result!
  • Query the CRC verification result of the metadata object.
    admin:/diagnose>spa crccheck -q 
    Status: Success. 
     ------------------------------------------ 
          Object Type: 11 
              Pool ID: 0 
             App Type: 0 
            Tier Type: 1

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Object type

Metadata object type index.

Pool ID

Disk domain ID.

App type

Metadata type.

Tier Type

Disk tier type.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181602

Views: 631868

Downloads: 56

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