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 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).
change file_system rescue

change file_system rescue

Function

The change file_system rescue command is used to execute the file system rescue repair.

Format

change file_system rescue controller=? file_system_id=? action=? [ directory_check=? ] [ file_data_check=? ] [ force=? ] [ speed=? ] [ waiting_before_online=? ]

Parameters

Parameter

Description

Value

controller=?

Owning controller of the file system.

The value is in the format of XA or XB or XC or XD. X is an integer from 0 to 3.

file_system_id=?

File system ID.

The value ranges from 0 to 65535.

action=?

Action.

The value is "start", "cancel", "confirm", "clear", "continue", "break", where:

  • "start": start.
  • "cancel": cancel.
  • "confirm": confirm.
  • "clear": clear.
  • "continue": continue.
  • "break": break.

force=?

Forcible check tag.

The value is "no" or "yes", where:

  • "no": indicates that forcible repair will not be performed.
  • "yes": indicates that forcible repair will be performed.

file_data_check=?

File data check tag.

The value is "no" or "yes", where:

  • "no": indicates that file data check will not be performed.
  • "yes": indicates that file data check will be performed.

waiting_before_online=?

Wait before the online rescue.

The value can be "yes" or "no", where:

  • "no":directly goes to online rescue.
  • "yes":waits before the online rescue.

directory_check

Directory check tag.

The value is "no" or "yes", where:

  • "no": The directory check will not be performed.
  • "yes": The directory check will be performed.

speed

Scanning speed.

The value is "no" or "yes" and the default value is high.

Views

Developer view

Usage Guidelines

None

Example

  • Rescue the file system whose ID is "0".
    developer:/>change file_system rescue controller=0A file_system_id=0 action=start 
    DANGER: You are about to rescue the file system. When performing this operation, note the following: 
    1. When rescuing the file system, do not perform other operations on the storage system or the file system. 
    2. Rescuing the file system may cause file data loss and disk space leakage. Exercise caution when rescuing the file system. 
    3. The rescuing function only rescues files, directories, and extended attributes of files and will clear the data of value-added features (such as file system replication, snapshot, quota tree, and quota) on the file system.  
    4. The rescuing function may rescue deleted files, directories, or data.  
    5. After a successful rescuing, the available space of the file system may be greater than, equal to, or smaller than that before the rescuing.  
    6. After a successful rescuing, the space occupied by the file system may be greater than the amount of data that can be accessed.  
    7. After the command is executed successfully, run the show command to view the status and progress of the rescuing task.  
    8. After successfully rescuing the file system, you must run the command to confirm the rescuing action.  
    9. Cancel the rescuing when the command cannot be successfully executed or when faults occur during the rescuing. 
    Suggestion: Perform this operation based on customer requirements. 
    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.
  • Cancel the rescue task of the file system whose ID is "0".
    developer:/>change file_system rescue controller=0A file_system_id=0 action=cancel 
    DANGER: You are about to cancel the rescuing task. When performing this operation, note the following: 
    1. When canceling the rescuing task, do not perform other operations on the storage system or the file system. 
    2. Only failed rescuing task can be canceled.  
    3. The canceling operation cannot reclaim the space obtained by a rescuing task that failed in the online phase during restoration. 
    4. After this command is executed successfully, run the show command to view the status and progress of the task canceling.  
    5. After a rescuing task is successfully canceled, you cannot view the status of the task by running the show command. 
    Suggestion: Perform this operation based on customer requirements. 
    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.
  • Confirm the rescue task of the file system whose ID is "0".
    developer:/>change file_system rescue controller=0A file_system_id=0 action=confirm 
    DANGER: You are about to confirm the rescuing task. When performing this operation, note the following: 
    1. When confirming the rescuing task, do not perform other operations on the storage system or the file system. 
    2. You can only confirm successful rescuing task.  
    3. After the command is executed successfully, you cannot view the status of the rescuing task by running the show command. 
    Suggestion: Perform this operation based on customer requirements. 
    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.
  • Clear the rescue task of the file system whose ID is "0".
    developer:/>change file_system rescue controller=0A file_system_id=0 action=clear 
    DANGER: You are about to clear the rescuing task. When performing this operation, note the following: 
    1. When clearing the rescuing task, do not perform other operations on the storage system or the file system. 
    2. Clearing a failed rescuing task cannot reclaim the space obtained during the rescuing.  
    3. After the command is executed successfully, you cannot view the status of the task by running the show command. 
    Suggestion: Perform this operation based on customer requirements. 
    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.
  • Continue the rescue task of the file system whose ID is "0".
    developer:/>change file_system rescue controller=0A file_system_id=0 action=continue 
    DANGER: You are about to continue to rescue the file system. When performing this operation, note the following: 
    1. When continuing to rescue the file system, do not perform other operations on the storage system or the file system. 
    2. System rollback is unavailable after the file system is rescued. Exercise caution when continuing the rescuing task. 
    3. After successfully rescuing the file system, you must run the command to confirm the rescuing action.  
    Suggestion: Perform this operation based on customer requirements. 
    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.
  • Break the rescue task of the file system whose ID is "0".
    developer:/>change file_system rescue controller=0A file_system_id=0 action=break 
    DANGER: You are about to break the rescuing task. When performing this operation, note the following: 
    1. When breaking the rescuing task, do not perform other operations on the storage system or the file system. 
    2. After you break the rescuing task, the rescuing task fails. You must run the command to cancel the rescuing task. 
    Suggestion: Perform this operation based on customer requirements. 
    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

None

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 641410

Downloads: 30

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