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).
setsysdirtydataflag.sh

setsysdirtydataflag.sh

Function

The setsysdirtydataflag.sh command is used to mark the dirty data flag on a node.

Format

setsysdirtydataflag.sh [ -h | -a | -n bitmap | -i ]

Parameters

Parameter

Description

Value

-h

Show help information.

-

-a

Set all nodes dirty data flag valid in the cluster.

-

-n bitmap

Set all nodes dirty data flag valid in a specified bit map. The nodes must be in the cluster.

The value ranges from 0 to 65,535. You can enter the value as an octal, decimal, or hexadecimal number.

-i

Set all nodes dirty data flag invalid in the cluster.

-

Modes

Minisystem mode

Usage Guidelines

This command is an environment repair command. Use this command only when invalid dirty data causes power-on failure and you need to forcibly power on the device. Using this command may cause user data loss. Exercise caution when using this command.

Example

  • Set all nodes dirty data flag valid in the cluster.
    Storage: minisystem> setsysdirtydataflag.sh -a 
    DANGER: You are about to set the dirty data flag. 
    This operation will cause service data loss. This command brings irreversible results. The system cannot be restored to the original status after this command is executed. 
    Suggestion: Before performing this operation, implement the following steps: 
    1. Determine whether to set the dirty data flag. 
    2. Stop all running services on the system. 
    Have you read danger alert message carefully?(y/n) 
    y 
    Are you sure you really want to perform the operation?(y/n) 
    y 
    set dirty data flag :all nodes in group valid 
    admin:/diagnose>sys setdirtydataflag -a 
    Start set all nodes in group dirty data flag valid. 
    Set dirty data flag succeeded. 
    admin:/diagnose>exit
  • Set all nodes dirty data flag valid in a specified bit map.
    Storage: minisystem> setsysdirtydataflag.sh -n 0x2 
    DANGER: You are about to set the dirty data flag. 
    This operation will cause service data loss. This command brings irreversible results. The system cannot be restored to the original status after this command is executed. 
    Suggestion: Before performing this operation, implement the following steps: 
    1. Determine whether to set the dirty data flag. 
    2. Stop all running services on the system. 
    Have you read danger alert message carefully?(y/n) 
    y 
    Are you sure you really want to perform the operation?(y/n) 
    y 
    set dirty data flag :bitmap(0x2) valid 
    admin:/diagnose>sys setdirtydataflag -n 0x2 
    Start set nodes(bitmap 0x2) dirty data flag valid. 
    Set dirty data flag succeeded. 
    admin:/diagnose>exit
  • Set all nodes dirty data flag invalid in the cluster.
    Storage: minisystem> setsysdirtydataflag.sh -i 
    DANGER: You are about to set the dirty data flag. 
    This operation will cause service data loss. This command brings irreversible results. The system cannot be restored to the original status after this command is executed. 
    Suggestion: Before performing this operation, implement the following steps: 
    1. Determine whether to set the dirty data flag. 
    2. Stop all running services on the system. 
    Have you read danger alert message carefully?(y/n) 
    y 
    Are you sure you really want to perform the operation?(y/n) 
    y 
    set dirty data flag :all nodes in group invalid 
    admin:/diagnose>sys setdirtydataflag -i 
    Start set all nodes in group dirty data flag invalid. 
    Set dirty data flag succeeded. 
    admin:/diagnose>exit

System Response

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 638068

Downloads: 256

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