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.


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).
delete disklog

delete disklog


The delete disklog command is used to delete specified logs of a disk.


delete disklog disk_domain_id=? disk_id=? log_type=? [ ckg_object_id=? ] [ lba=? ] [ length=? ]





disk_domain_id=? Disk domain ID.

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

disk_id=? Disk ID.

To obtain the value, run the "disklog show" command in the diagnose view of the developer mode.

log_type=? Indicates where the logs are saved.

The value can be "rootckg" or "db", where:

  • "rootckg": Logs are saved in Rootckg.
  • "db": Logs are saved in DB.
ckg_object_id=? Chunk group ID. If this parameter is specified, the "lba" parameter is mandatory.

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

lba=? LBA. If this parameter is specified, the "length" parameter is mandatory.

The value must be smaller than the maximum capacity of a disk and is expressed in sectors.

length=? Log length.

The value varies with the disk capacity and is expressed in sectors.


Developer view

Usage Guidelines



Delete the logs whose length is "8" and LBA is "7077888", saved in rootckg, from member disk "522" of CKG "70434275999744" (hexadecimal: "400F42004000").

developer:/>delete disklog disk_domain_id=0 disk_id=522 log_type=rootckg ckg_object_id=70434275999744 lba=7077888 length=8
DANGER: You are going to delete a bad block tag. The data in the range indicated by the bad block tag is unreadable, which becomes readable when the tag is deleted. However, the data that is read from this range may be old incorrect data.
Suggestion: Before you perform this operation, ensure that you have selected the correct unnecessary bad block tag.
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


Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 731276

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next