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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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).
grain checkGrainInfo

grain checkGrainInfo

Function

The grain checkGrainInfo command is used to display related information about grain.

Format

grain checkGrainInfo fsid

Parameters

Parameter

Description

Value

fsid

File system ID.

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

Views

Diagnostic view

Usage Guidelines

None

Example

Display related information about grain.

admin:/diagnose>grain checkGrainInfo 1 
=============================================Grain================================================== 
GrainUsed(data/meta):                               0                   6361088     
GrainAlloc(data/meta):                              0                   6688768     
GrainReserve(data/meta):                         0                  26857472     
=============================================AllocCtrl============================================== 
dataMergeTree(in/out):                              0                         0 
metaMergeTree(in/out):                              0                         0 
dataAllocTree(in/out):                              0                         0 
metaAllocTree(in/out):                        2097152                    921600 
AllocTreeInDisk(data/meta):                         0                   1175552     
AllocTreeInMemory(data/meta):                       0                   1175552     
=============================================Defree/Node============================================ 
defreeData(add/free):                               0                         0     
defreeMeta(add/free):                            8192                         0     
defree(data/meta):                                  0                      8192     
nodeAlg(data/meta):                                 0                    516096     
=============================================Data Queue============================================= 
AllocEnque(active/current):                         0                         0  
AllocDeque(active/current):                         0                         0     
FreeEnque(active/current):                          0                         0 
FreeDeque(active/current):                          0                         0 
=============================================Meta Queue============================================= 
AllocEnque(active/current):                        16                        16     
AllocDeque(active/current):                         2                         2 
FreeEnque(active/current):                          0                         0 
FreeDeque(active/current):                          0                         0 
=============================================Extent Info============================================ 
AllocQueue(data/meta):                              0                  29360128     
FreeQueue(data/meta):                               0                         0     
TotalFromSpa(data/meta):                            0                  33554432     
=============================================Statistical variable=================================== 
allocMetaTotalSize:                            397312           
allocDataTotalSize:                                 0           
allocNodeTotalSize:                              8192           
freeMetaTotalSize:                                  0           
freeDataTotalSize:                                  0           
freeNodeTotalSize:                                  0           
grainAllocMetaSelf:                           2105344 
grainAllocDataSelf:                                 0 
gangAllocMetaSpace:                                 0 
gangFreeMetaSpace:                                  0 
gangUsedMeta:                                       0 
defreeUsedMeta:                               2097152           
allocAlgUsedMeta:                                8192           
grainPersist:                                   61440           
repairLostMeta:                                     0           
repairLostData:                                     0           
repairLostDefreeMeta:                               0           
repairLostDefreeData:                               0           
repairLostAlgKvdb:                                  0           
repairLostDefreeKvdb:                               0 
totalAdd:                                        8192           
totalFree:                                          0           
kvdbAllocSize:                                2097152           
kvdbFreeSize:                                       0 
=============================================CheckResult============================================ 
SpaceStatistic(data/meta):                         OK                        OK     
computeReserve(data/meta):                          0                  31051776 

System Response

The following table describes the parameter meanings.

Parameter

Meaning

GrainUsed(data/meta)

Space utilized by grain and space of the release queue.

GrainAlloc(data/meta

Space utilized by grain and space allocated to spc.

GrainReserve(data/meta)

Reserved space for grain.

AllocTreeInDisk(data/meta)

Disk space of the allocation tree.

AllocTreeInMemory(data/meta)

Memory space of the allocation tree.

defreeData(add/free)

Data and returned data whose release is delayed.

defreeMeta(add/free)

Metadata and returned metadata whose release is delayed.

defree(data/meta)

Delays the release of the existing data and metadata.

nodeAlg(data/meta)

Remaining node.

AllocEnque(active/current)

Start and end information about the data allocation and release queue.

AllocEnque(active/current)

Start and end information about the metadata allocation and release queue.

AllocQueue(data/meta)

Space of the data or metadata allocation queue.

FreeQueue(data/meta)

Space of the data or metadata release queue.

TotalFromSpa(data/meta)

Total data or metadata space obtained from spa.

allocMetaTotalSize

Total size of the allocated metadata.

allocDataTotalSize

Total size of the allocated data.

allocNodeTotalSize

Total size of the allocated nodes.

freeMetaTotalSize

Total size of the released metadata.

freeDataTotalSize

Total size of the released data.

freeNodeTotalSize

Total size of the released nodes.

defreeUsedMeta

Total size of the delayed-release log regions.

allocAlgUsedMeta

Total size of the nodes used by trees of grain.

grainPersist

Grain root.

repairLostMeta

Repairs the discarded metadata space.

repairLostData

Repairs the discarded data space.

repairLostDefreeMeta

Repairs discarded metadata space whose release is delayed.

repairLostDefreeData

Repairs discarded data space whose release is delayed.

repairLostAlgKvdb

Repairs discarded grain root.

totalAdd

Total size of the data and metadata that enter the delayed-release state.

totalFree

Total size of the returned data and metadata whose release is delayed.

kvdbAllocSize

Total size of the delayed-release log regions.

SpaceStatistic(data/meta)

Verifies space statistics.

computeReserve(data/meta)

Calculated reserved space for grain.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 584539

Downloads: 233

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