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


To have a better experience, please upgrade your IE browser.


Advanced O&M Command Reference

OceanStor 18000 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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).
show space grain

show space grain


The show space grain command is used to query the status of the switch of emergency space in a file system.


show space grain controller=? file_system_id=?





file_system_id=? File system ID.

To obtain the value, run the "show file_system general" command without parameters.

controller=? Controller ID.

The value is in the format of "XA", "XB", "XC", or "XD", where the "X" is an integer ranging from 0 to 3, for example, "0A", "1C".


Developer view

Usage Guidelines

  • Before running this command, ensure that the file system ID is correct.
  • Before running this command, ensure that the working controller ID of the file system is correct.


Query the status of the switch of emergency space in file system "0".

developer:/>show space grain controller=0A file_system_id=0
File System ID : 0 
Grain Switch : Off

System Response

The following table describes the parameter meanings.



File System ID

File system ID.

Grain Switch

Status of the switch of emergency space.

Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 764234

Downloads: 66

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next