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 findMgtById

grain findMgtById

Function

The grain findMgtById command is used to view the management structure of grain objects in a file system.

Format

grain findMgtById file_system_id

Parameters

Parameter

Description

Value

file_system_id

File system ID.

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

Views

Diagnostic view

Usage Guidelines

This command is applicable only to the local controller.

Example

View the management structure of grain objects in a file system.

admin:/diagnose>grain findMgtById 0 
grain object       :ffff8805851f3318 
tx No              :4 
poolid             :0 
spaceId            :0x0 
meta volumeid      :0x1000000000 
data volumeid      :0x0 
writeThroughSwitch :0 (0: off, 1: on) 
dataDirtySize      :64 MB 
metaDirtySize      :32 MB 
data extentSize :4 MB 
meta extentSize :2 MB

System Response

The following table describes the parameter meanings.

Parameter

Meaning

grain object

Memory pointer address of the grain object set.

tx No

Task number recorded in the grain object set.

poolid

ID of the pool to which the grain allocator belongs.

spaceId

ID of the file system to which the grain allocator maps.

meta volumeid

ID of the volume to which metadata maps.

data volumeid

ID of the volume to which data maps.

writeThroughSwitch

Whether the grain is in the write through state (status of the file system).

dataDirtySize

Amount of dirty data of tasks input during grain creation. The grain obtains watermark thresholds based on the amount.

metaDirtySize

Amount of dirty metadata of tasks input during grain creation. The grain obtains watermark thresholds based on the amount.

data extentSize

Data extent size of the storage pool where the grain resides.

meta extentSize

Metadata extent size of the storage pool where the grain resides.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181619

Views: 631272

Downloads: 252

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