grain findMgtById
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
file_system_id | File system ID. | To obtain the value, run the "show file_system general" command. |
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. |