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 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).
spc showstatistic

spc showstatistic

Function

The spc showstatistic command is used to query the capacity usage of a file system.

Format

spc showstatistic <fsid> [type] [unit]

Parameters

Parameter

Description

Value

fsid

File system ID.

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

unit

Unit of the capacity statistics.

The default unit is byte. You also can use 'm'/'M' and 'g'/'G'.

type

Type of capacity statistics.

The value can be "now", "last", "obsstat", "mgrstat".

Views

Diagnostic view

Usage Guidelines

None

Example

Query the capacity usage of file system "1".

admin:/diagnose>spc showstatistic 1 

============================= FileSystem Space Statistic Detail Infomation ============================ 
--------------------------------------------General(Bytes)---------------------------------------------- 
1)  root fs objsetId:                                4000000001 
2)  file system(used/total):                   3602879841135820/ 18014398509481984 
3)  file system reserved(free/total):                         0/         201326592 
4)  dcl objset reserved(free/total):                   45309952/          67108864 
5)  storage pool(available/quota):                 212600881152/        1073741824 
6)  snapshot reserved(free/total):             3602879701896396/  3602879701896396 
7)  alarm threshold(offalarm/alarm):          14591662792680406/ 16212958658533785 
8)  snapshot used:                                            0 
9)  volume root size:                                 134217728 
10) write through reason:                                     0 
--------------------------------------------SPA(Bytes)-------------------------------------------------- 
11) SPA quota(data/meta/total):                      1073741824/                 0/        1073741824 
12) SPA alloc(data/meta/total):                               0/          50331648/          50331648 
13) SPA unexpand:                                             0 
--------------------------------------------GRAIN(Bytes)------------------------------------------------ 
14) GRAIN used(data/meta/total):                              0/           4333568/           4333568 
15) GRAIN alloc(data/meta/total):                             0/           5005312/           5005312 
16) GRAIN reserve(data/meta/total):                           0/          45309952/          45309952 
17) GRAIN delay free(data/meta/total):                        0/             16384/             16384 
--------------------------------------------DDP(Bytes)-------------------------------------------------- 
18) DDP used(data/meta/total):                                0/                 0/                 0 
19) DDP saved(comp/dedup/total):                              0/                 0/                 0 
--------------------------------------------SPC(Bytes)-------------------------------------------------- 
20) SPC fs alloc(data/meta/total):                            0/            671744/            671744 
21) SPC fs used(data/meta/total):                             0/            671744/            671744 
22) SPC snap used(data/meta/total):                           0/                 0/                 0 
23) SPC snap ref(data/meta/total):                            0/            327680/            327680 
24) SPC reserve(used/total):                                  0/                 0 
25) SPC reserve double(already/expect):                       0/                 0 
26) SPC estimate dirty data(txg/L1):                          0/                 0 
27) SPC rescue mark(data/meta/total):                         0/                 0/                 0 
Tips: FsUsed = fsRsv(3,2) + dclRsv(4,2) + volRoot(9,1) 
               + grainUsed(14,3) + grainDeFree(17,3) + ddpUsed(18,3) 
               + spcAlloc(20,3) + snapRsvFree(6,1) 
               + vaaiRsv(24, 2) + vaaiDouble(25, 2) - vaaiUsed(24,1) 

--------------------------------------------autosize(Bytes)-------------------------------------------------- 
autosizeCap(used/modifyedTotal/percent):              139239424/      213674622976/                 0% 
threthold(grow/shrink):                                     85%/                50% 
min max(minAutoSize/maxAutoSize/increment): 18014398509481984/ 18014398509481984/        1073741824 
adjustMode/recycleMode/autosizeEnable:                      off/     autoSizeFirst/              TRUE 
miniCapacity/isPoolRich:                       3602879886445568/             FALSE 
============================ FileSystem Space Statistic Detail Infomation ===========================

System Response

The following table describes the parameter meanings.

Parameter

Meaning

General

General statistics information.

autosize

Statistics of automatic capacity expansion and reduction.

GRAIN

Statistics information of GRAIN.

SPC

Statistics information of SPC.

SPA

Statistics information of SPA.

DDP

Statistics information of deduplication and compression.

Translation
Download
Updated: 2019-07-11

Document ID: EDOC1000181602

Views: 621856

Downloads: 55

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