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 V3 V300R006

This document is applicable to OceanStor 2800 V3. Based on the CLI, this document describes how to use various commands classified by functionsand 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 disk_log

change disk_domain disk_log

Function

The change disk_domain disk_log command is used to start a background disk log verification task.

Format

change disk_domain disk_log type=? disk_domain_id=? engine_id=? [ ckg_id=? ] [ disk_id=? ] [ disk_lba=? ] [ lba_length=? ] [ controller=? ]

Parameters

Parameter

Description

Value

type=?

Operation type.

The value can be "query_bst_lun_fs", "query_disk_lba_lun_fs" or "query_lun_fs_terminate", where:

  • "query_bst_lun_fs": verifies all BST information.
  • "query_disk_lba_lun_fs": verifies BST information about a specified LBA.
  • "query_lun_fs_terminate": terminate the task of verification.

disk_domain_id=?

Disk domain ID.

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

engine_id=?

Engine ID.

To obtain the value, run "show controller general".

ckg_id=?

Chunk group ID.

Specified chunk group ID.

disk_id=?

Disk ID.

Specified disk ID.

disk_lba=?

Logical block address of a disk.

Start LBA of a specified disk.

lba_length=?

LBA range. This parameter is used with "disk_lba".

The unit is a sector and the length must be within 32768 sectors.

controller=?

Controller specified to verify BST information.

To obtain controller IDs, run the "show controller general" command in the guest view. By default, all controllers are selected.

Views

Developer view

Usage Guidelines

This command must be delivered on the working controller of the corresponding disk domain. If parameter "controller" is not specified, the command is executed on the controller where the command delivers by default. If parameter "controller" is specified, the command is forwarded to and executed on the specified controller.

Example

  • Verify all BST information about disk domain "0" on engine "0".
    developer:/>change disk_domain disk_log type=query_bst_lun_fs disk_domain_id=0 engine_id=0 
    DANGER : You are about to verify disk domain metadata. This operation may cause metadata exceptions on disks. 
    Suggestion: Before performing this operation, ensure that the selected verification type and disk domain are correct. 
    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. 
    developer:/>
  • Verify specified BST information about disk domain "0" on engine "0".
    developer:/>change disk_domain disk_log type=query_disk_lba_lun_fs disk_domain_id=0 engine_id=0 ckg_id=0 disk_id=512 disk_lba=0 lba_length=8 
    DANGER : You are about to verify disk domain metadata. This operation may cause metadata exceptions on disks. 
    Suggestion: Before performing this operation, ensure that the selected verification type and disk domain are correct. 
    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. 
    developer:/>
  • Terminate a task to verify the information about disk domain "0" on engine "0".
    developer:/>change disk_domain disk_log type=query_lun_fs_terminate disk_domain_id=0 engine_id=0 
    DANGER : You are about to verify disk domain metadata. This operation may cause metadata exceptions on disks. 
    Suggestion: Before performing this operation, ensure that the selected verification type and disk domain are correct. 
    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. 
    developer:/>

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 722194

Downloads: 36

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