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 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 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).
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-03-30

Document ID: EDOC1000138402

Views: 453258

Downloads: 644

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