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 18000 V3 Series V300R006

This document is applicable to OceanStor 18500 V3 and 18800 V3. 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).
space.sh

space.sh

Function

The space.sh command is used to run commands related to the SPACE module.

Format

space.sh { -h | -a | setloopswitchlunnum [num] | resetloopswitchlunnum | createisolationlunidfile | deleteisolationlunidfile | showisolationlun | deleteisolationlun [lunid] | addisolationlun [lunid]}

Parameters

Parameter

Description

Value

-h

Shows help information.

-

-a

Displays functions of each subcommand of the SPACE module.

-

setloopswitchlunnum [num]

Changes the number of LUNs whose owning controllers can be batch switched over.

The value ranges from 1 to 100. The default value is 100.

resetloopswitchlunnum

Resets the number of LUNs whose owning controllers can be batch switched over.

-

createisolationlunidfile

Creates a file recording information about isolated LUNs.

-

deleteisolationlunidfile

Deletes the file recording information about isolated LUNs.

-

showisolationlun

Queries the information about isolated LUNs in the file recording information about isolated LUNs.

-

addisolationlun [lunid]

Adds the information about isolated LUNs to the file recording information about isolated LUNs.

To obtain the value, run "show lun general".

deleteisolationlun [lunid]

Deletes the information about isolated LUNs from the file recording information about isolated LUNs.

To obtain the value, run "show lun general".

Modes

Minisystem mode

Usage Guidelines

None

Example

  • Display functions of each subcommand of the SPACE module.
    Storage: minisystem> space.sh -a 
    space.sh setloopswitchlunnum        : Modify loop switch lun num(Range: [1,100], default: 100),usage: space.sh setloopswitchlunnum [num].
  • Change the number of LUNs whose owning controllers can be batch switched over.
    Storage: minisystem> space.sh setloopswitchlunnum 50 
    admin:/diagnose>lunctrl setloopswitchlunnum 50 
    Successed to modify the num of loop switch lun from 100 to 50. 
    admin:/diagnose>exit
  • Show help information.
    Storage: minisystem> space.sh -h 
    space.sh [-h] | [-a] : It is just a space control command. Enter "space.sh -a" to obtain more information.
  • Reset the number of LUNs whose owning controllers can be batch switched over.
    Storage: minisystem> space.sh resetloopswitchlunnum 
    admin:/diagnose>lunctrl resetloopswitchlunnum 
    Successed to reset the num of loop switch lun from 100 to 100. 
    admin:/diagnose>exit
  • Create a file recording information about isolated LUNs.
    Storage: minisystem> space.sh createisolationlunidfile 
    Create configuration file success.
  • Delete the file recording information about isolated LUNs.
    Storage: minisystem> space.sh deleteisolationlunidfile 
    Delete configuration file success.
  • Add the information about isolated LUNs to the file recording information about isolated LUNs.
    Storage: minisystem> space.sh addisolationlun 1 
    Add LUN ID 1 success.
  • Delete the information about isolated LUNs from the file recording information about isolated LUNs.
    Storage: minisystem> space.sh deleteisolationlun 1 
    Delete LUN ID 1 success.
  • Query the information about isolated LUNs in the file recording information about isolated LUNs.
    Storage: minisystem> space.sh showisolationlun 
    ISOLATION_LUN_ID_LIST 
    1

System Response

The following table describes the parameter meanings.

Parameter

Meaning

ISOLATION_LUN_ID_LIST

Isolated LUN information.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 500284

Downloads: 85

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