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 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 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).
show space grain_extent_count

show space grain_extent_count


The show space grain command is used to query information about extent distributive and released.


show space grain_extent_count file_system_id=? controller=?






File system ID.

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


Controller ID.

The value is in the format of "XA" or "XB" or "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, check whether the working controller ID of the file system is correct.

OceanStor 6800 V3/2200 V3/2600 V3/5300 V3/5500 V3/5600 V3/5800 V3 storage systems support this command.


Query information about extent distributive and released.

developer:/>show space grain_extent_count file_system_id=1 controller=0B 
Queue Type Alloc From SPA Alloc To Grain(Current/Active) Free To SPA Get From Grain(Current/Active) 
---------- -------------- ------------------------------ ----------- ------------------------------ 
Data Alloc 16 0/0 0 
Meta Alloc 22 10/10 0 
Data FREE 22 10/10 0 0/0 
Meta FREE 22 10/10 0 0/0

System Response

The following table describes the parameter meanings.



Queue Type

Queue type.

Alloc From SPA

Count of extents obtained by the queue from SPA.

Alloc To Grain(Current/Active)

Count of extents allocated by the queue to grain (current/valid).

Free To SPA

Count of extents released by the queue to SPA.

Get From Grain(Current/Active)

Count of extents received by the queue from grain (current/valid).

Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 639123

Downloads: 707

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