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 functionsand 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).
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-12

Document ID: EDOC1000138389

Views: 487704

Downloads: 85

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