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).
setupsystem

setupsystem

Function

The setupsystem command is used to format the startup partition and reinstall the operating system.

Format

setupsystem

Parameters

None

Modes

Minisystem mode

Usage Guidelines

  • You must upload the installation package to the /home/permitdir directory and enter the correct package name as prompted. Otherwise, the operating system cannot be reinstalled.
  • If the installation package matches the device type, enter "y" to start formatting and reinstalling.
  • If the installation package fails to match the device type, enter "n" to stop reinstalling.

Example

  • Format the startup partition and reinstall the operating system (applicable to non-Kunpeng series).

    Storage: minisystem> setupsystem
    Make sure you have uploaded package to /home/permitdir/
    Input package name:STLOSCB021.18.01.107T04.tgz
    ************** BEGIN: Execute the hook shell **************
    ************** END : Execute the hook shell **************
    ************** BEGIN: Check the input params**************
    ************** END : Check the input params**************
    ************** END : Check the input params**************
    ************** BEGIN: Check if running on the target disk*************
    ************** END : Check if running on the target disk*************
    ************** BEGIN: Check if target disk is startup disk ************
    The /dev/sda is startup disk. Do you want to fire it! Please select y or n:[y]
     
  • Format the startup partition and reinstall the operating system (applicable to the Kunpeng series).

    Storage: minisystem> setupsystem
    Make sure you have uploaded package to /home/permitdir/
    Input package name:OceanStor_5X10V5_V500R007C60_Kunpeng_DEBUG_20190715183855.tgz
    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.
    This script is not recommended now, please use swm_setup_disk.py for setup disk.
    Jump to cmd: swm_setup_disk.py -p /home/permitdir/OceanStor_5X10V5_V500R007C60_Kunpeng_DEBUG_20190715183855.tgz.
    **************pkg: /home/permitdir/OceanStor_5X10V5_V500R007C60_Kunpeng_DEBUG_20190715183855.tgz
    **************Get disk state failed, set setup type(PANGEA_V6R1C00_HI1620_2U2C_SAS).
    **************BEGIN: Check for setup sys disk.
    **************END: Check for setup sys disk.
    **************BEGIN: Backup system config.
    **************END: Backup system config.
    **************BEGIN: Hook before setup.
    **************Run setup.hook.before successfully.
    **************END: Hook before setup.
    **************BEGIN: Extract euler component.
    **************END: Extract euler component.
    **************BEGIN: Format sys disk.
    **************END: Format sys disk.
    **************BEGIN: Install system.
    **************get system pkg successfully.version:6200800171.
    **************Install euler component successfully.
    **************END: Install system.
    **************BEGIN: Hook after setup.
    **************Run setup.hook.after successfully.
    **************END: Hook after setup.
    **************BEGIN: Restore system config.
    **************END: Restore system config.
    **************Finally: Setup system successfully.
    **************************** OK , Fire /dev/sda success!   **************
    **************Re-install system success. you must restart the system for the change to take effect.
    Storage: minisystem>
     

System Response

None

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181575

Views: 728442

Downloads: 32

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next