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 functions and 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).
quota show pttinfo

quota show pttinfo

Function

The quota show pttinfo command is used to view the quota information of each cache partition.

Format

quota show pttinfo all

Parameters

Parameter

Description

Value

cpttId

ID of a cache partition.

The value ranges from 0 to 8.

all

All objects.

-

Views

Diagnostic view

Usage Guidelines

None

Example

  • View the quota usage of cache partition 0.
    admin:/diagnose>quota show pttinfo 0 
    detail information: 
    Up fault high level: FALSE 
    Add mirror reserved: FALSE 
    volume cache: 
    quotaType idx     base     used remain total faultRes  mirrRes  blocked adjust hm lm  cm wait 
    ---------------------- --- -------- -------- -------- -------- -------- -------- -------- -------- -- -- --- ---- 
    PTT_VOL_ONFLY 5 169738      864 168874 169738        0        0        0        0 80 20 0 0 
    PTT_RSS_CLONE_ONFLY 6 169738        0 169738 169738        0        0        0        0 80 20 0 0 
    PTT_VOL_REMOTE_ONFLY 7 169738        0 169738 169738        0        0        0        0 80 20 0 0 
    PTT_BGR_BG_ONFLY 8 84869        0 84869 84869        0        0        0        0 80 20 0 0 
    PTT_VOL_DIRTY 0 424345 424345        0 424345        0        0        0        0 80 20 100 0 
    VOL_WRITE_CHUNK  15 53542 41593 11949 56360     2818        0  0        0 80 20  77 0 
    VOL_WRITE_PG_UNIT  19 107084 60717 46367 112721     5637        0        0        0 80 20  56 0 
    VOL_DIRTY_LUN  40 424345 424344        1 424345        0        0        0        0 80 20  99 0 
    VOL_WRITE_CHUNK_LUN  41 53542 41593 11949 56360     2818        0        0        0 80 20  77 0 
    VOL_WITE_PG_UNIT_LUN  42 107084 60717 46367 112721     5637        0        0        0 80 20  56 0 
    VOL_DIRTY_FS  37 424345        0 424345 424345        0        0        0        0 80 20 0 0 
    VOL_WRITE_CHUNK_FS  38 53542        0 53542 56360     2818        0        0        0 80 20 0 0 
    VOL_WITE_PG_UNIT_FS  39 107084        0 107084 112721     5637        0      0        0 80 20 0 0 
    stripe cache: 
    quotaType idx     base     used remain total faultRes  mirrRes  blocked adjust hm lm  cm wait 
    ---------------------- --- -------- -------- -------- -------- -------- -------- -------- -------- -- -- --- ---- 
    PTT_DATA_ONFLY 9 254607        0 254607 254607        0        0        0        0 80 20 0 0 
    PTT_COW_WRITE_ONFLY  10 127303        0 127303 127303        0        0        0        0 80 20 0 0 
    PTT_META_ONFLY  11 26214        3 26211 26214        0        0        0        0 80 20 0 0 
    TRANS_WRITE_LOG  25 16384        0 16384 16384        0        0        0        0 80 20 0 0 
    TRANS_CLEAN_LOG  24     8192        0     8192     8192        0        0        0        0 80 20 0 0 
    TRANS_COMMON  26 16384        0 16384 16384        0        0        0        0 80 20 0 0 
    TRANS_VOL_BACKGROUND  27      384        0      384      384        0        0        0        0 80 20 0 0 
    TRANS_POOL_FOREGROUND  28      128        0      128      128        0        0        0        0 80 20 0 0 
    TRANS_POOL_BACKGROUND  29       64        0       64       64        0        0        0        0 80 20 0 0 
    TRANS_VOL_BG_2ND  34      384        0      384      384        0        0        0        0 80 20 0 0 
    TRANS_VOL_BG_3RD  35      256        0      256      256        0        0        0        0 80 20 0 0 
    TRANS_POOL_FG_2ND  36       64        0       64       64        0        0        0        0 80 20 0 0 
    PTT_PARITY_ONFLY  12     6553     3587     6553     6553        0        0        0        0 80 20  54 0 
    PTT_SSD_DIRTY 1        0        0        0        0        0        0        0        0 80 20 0 0 
    PTT_HDD_DIRTY 2 620135 372016 248119 620135        0        0        0        0 80 20  59 0 
    PTT_PARITY_DIRTY 3 16384     7878 16384 16384        0        0        0        0 80 20  48 0 
    PTT_META_DIRTY 4 65536       82    65454 65536        0        0        0        0 80 20 0 0 
    CACHE_STP_TIER_ONFLY  33 620135 24282 595853 620135        0        0        0        0 80 20 3 0 
    IB_WRITE_ALLOC  43 25600        0 25600 25600        0        0        0        0 80 20 0 0 
    LOG_META_DIRTY  44 65536        0 65536 65536        0        0        0        0 80 20 0 0 
    ISCSI_READ_ALLOC  45 25600        0 25600 25600        0        0        0        0 80 20 0 0 
    read quota type: 
    quotaType idx     base     used remain total faultRes  mirrRes  blocked adjust hm lm  cm wait 
    ---------------------- --- -------- -------- -------- -------- -------- -------- -------- -------- -- -- --- ---- 
    PTT_CLEAN_PAGE  13 467122   412877 467122 467122        0        0        0        0 80 20  88 0 
    PTT_READ_CHUNK  14 958684        0 958684  1009142 50458        0        0        0 80 20 0 0 
    STP_DATA_WRITE_CHUNK  16 80313 17895 62418 84541     4228        0        0        0 80 20  22 0 
    STP_META_WRITE_CHUNK  17 33465        4 33461 35227     1762        0        0        0 80 20 0 0 
    READ_PG_UNIT  18 958684        0 958684  1009142 50458        0        0        0 80 20 0    0 
    STP_DATA_PG_UNIT  20 160627 75326 85301 169082     8455        0        0        0 80 20  46 0 
    STP_META_PG_UNIT  21 66930        7 66923 70453     3523        0        0        0 80 20 0 0 
    DATA_CKG  22 25164     1513  23651 26489     1325        0        0        0 80 20 6 0 
    META_CKG  23 10785       41 10744 11353      568        0        0        0 80 20 0 0 
    FS DNODE  30 40000        0 40000 40000        0        0        0        0 80 20 0 0 
    FS DSG NODE  31 153600        0 153600 153600        0        0        0        0 80 20 0 0 
    FS DSG TP  32 76800        0 76800 76800        0        0        0        0 80 20 0 0
  • View the brief quota information of all cache partitions.
    admin:/diagnose>quota show pttinfo all 
    general info: 
    partition ID size baseCnt usedCnt remainCnt blockedCnt 
    ------------ ----------- ----------- ----------- ----------- ----------- 
    0 299956 249987 112487 249847 0 
    1 0 0 0 0 0 
    2 0 0 0 0 0 
    3 0 0 0 0 0 
    4 0 0 0 0 0 
    5 0 0 0 0 0 
    6 0 0 0 0 0 
    7 0 0 0 0 0 
    8 0 0 0 0 0

System Response

The following table describes the parameter meanings.

Parameter

Meaning

partition ID

ID of the cache partition.

size

Size of the cache partition.

baseCnt

Total number of available quotas.

usedCnt

Total number of used quotas.

remainCnt

Number of remaining quotas.

blockedCnt

Total amount of fault resources.

Up fault high level

Whether the partition is in write through mode.

Add mirror reserved

Whether reserved mirrors are added.

quotaType

Quota type.

idx

Index of the quota type.

base

Total number of available quotas of the quota type.

used

Number of used quotas of the quota type.

remain

Number of remaining quotas of the quota type.

total

Total number of quotas of the quota type.

faultRes

Resource reservation that is triggered when fault pages exist.

mirrRes

Resource reservation that is triggered when the system is switching from single-controller mode to dual-controller mode.

blocked

Number of quotas when fault pages exist.

adjust

Number of quotas adjusted when fault pages exist.

hm

High watermark.

lm

Low watermark.

cm

Current watermark.

wait

Number of I/Os hung in quota application.

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138389

Views: 497184

Downloads: 85

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