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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F V5. 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.
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).
logzonefreelogbylogid.sh

logzonefreelogbylogid.sh

Function

The logzonefreelogbylogid.sh command is used to delete a single piece of log data from the log zone.

Format

logzonefreelogbylogid.sh f [logid]

Parameters

Parameter

Description

Value

logid

ID of the log to be deleted.

The value is log ID (64-bit hexadecimal numbers).

Modes

Minisystem mode

Usage Guidelines

This command is provided only for maintenance personnel to recover devices. This command deletes log data stored in the logzone.Exercise caution when using it to normally power on devices.

Example

Delete log data "0f00000024000000" from the log zone.

Storage: minisystem> logzonefreelogbylogid.sh f 0f00000024000000 
DANGER: You are going to perform a danger command. 
Suggestion: Before you perform this operation, make sure the operation will not affect working of system. 
Have you read danger alert message carefully?(y/n) 
y 
Enter "I have read and understand the consequences associated with performing this operation." to confirm running this command. 
I have read and understand the consequences associated with performing this operation. 
DANGER: You are going to perform a danger command,this cmd try to free log 0x0f00000024000000. 
Suggestion: Before you perform this operation, confirm the command does not cause other problems. 
Have you read danger alert message carefully?(y/n) 
y 
Are you sure you really want to perform the operation?(y/n) 
y 
admin:/diagnose>logzone freelog logid=0x0f00000024000000 
Freelog:logId(0x0f00000024000000), result:OK. 
admin:/diagnose>exit 
Storage: minisystem>

System Response

The following table describes the parameter meanings.

Parameter

Meaning

logId

ID of the log to be deleted.

result

Result of log deletion.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 582008

Downloads: 233

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