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 and 18000F V5 Series V500R007

This document is applicable to OceanStor 18500 V5, 18800 V5, 18500F V5, and 18800F 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 traversenode

grain traversenode

Function

The grain traversenode command is used to view the allocation tree's available space obtained from disks.

Format

grain traversenode file_system_id type extent_id offset

Parameters

Parameter

Description

Value

file_system_id File system ID.

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

type Data type.

The value can be "0" or "1", where:

  • "0": metadata.
  • "1": data.
extent_id Extent ID.

The value is a hexadecimal number in the format of "0X". You can enter "0" for the first time.

offset Offset.

The value is an integer ranging from 0 to the extent size.

Views

Diagnostic view

Usage Guidelines

This command is applicable only to the local controller.

Example

View the allocation tree's available space of file system "0".

admin:/diagnose>grain traversenode 0 0 0 0 
Index      ExtentId             Offset       Physize
-----------------------------------------------------
0          0x40004000101a       196608       458752
1          0x40004000101a       1638400      458752
2          0x400040011006       0            2097152
3          0x400040011007       0            2097152
4          0x400040011008       0            2097152
5          0x400040011009       0            2097152
6          0x40004001100a       0            2097152
7          0x40004001100b       0            2097152
8          0x40004001100c       0            2097152
9          0x40004001100d       0            2097152
10          0x40004001100e       0            2097152
11          0x40004001100f       0            2097152
12          0x400040011010       0            2097152
13          0x400040011011       0            2097152
14          0x400040011012       0            2097152
15          0x400040011013       0            2097152
16          0x400040011014       0            2097152
17          0x400040011015       0            2097152
18          0x400040011016       0            2097152
19          0x400040011017       0            2097152
20          0x400040011018       0            2097152
21          0x400040011019       0            2097152
22          0x40004001101a       0            2097152
23          0x40004001101b       0            2097152
24          0x40004001101c       0            2097152
25          0x40004001101d       0            2097152
26          0x40004001101e       0            2097152
27          0x40004001101f       0            2097152
28          0x400040021000       0            2097152
29          0x400040021001       0            2097152
30          0x400040021002       0            2097152
31          0x400040021003       0            2097152
32          0x400040021004       0            2097152
33          0x400040021005       0            2097152
34          0x400040021006       0            2097152
35          0x400040021007       0            2097152
36          0x400040021008       1548288      548864
37          0x400040021009       0            131072
38          0x40004002100a       20480        110592
39          0x40004002100a       1433600      73728

System Response

The following table describes the parameter meanings.

Parameter

Meaning

Index

SN.

ExtentId

Extent ID.

Offset

Offset.

Physize

Logical size.

Translation
Download
Updated: 2020-01-17

Document ID: EDOC1000181602

Views: 749650

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Share
Previous Next