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 2800 V3 V300R006

This document is applicable to OceanStor 2800 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).
spa querypoolcap

spa querypoolcap

Function

The spa querypoolcap command is used to query the capacity of the disk domain.

Format

spa querypoolcap -p pool id -t pool type [ -s pair id ]

Parameters

Parameter

Description

Value

pool id

Disk domain ID.

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

pool type

Disk domain type.

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

  • "0": Local disk domain.
  • "1": Global disk domain.
  • "2": Sub disk domain.

pair id

Pair ID.

The value is an integer ranging from "0" to "15".

Views

Diagnostic view

Usage Guidelines

None

Example

Query the capacity of the disk domain whose ID is "0".

admin:/diagnose>spa querypoolcap -p 0 -t 0 
Local disk pool data capacity information  
pool id: 0  
----------------------------------------------- 
total cap: 3741463 MB  
used cap: 1577216 MB  
free cap: 1624353 MB  
hot spare quota: 539893 MB  
used hot spare cap: 0 MB  

details on tiers  
tier 0:  
- total cap: 0 MB  
- used cap: 0 MB  
- free cap: 0 MB  
- hot spare quota: 0 MB  
- used hot spare cap: 0 MB  
details on tiers  
tier 1:  
- total cap: 3741463 MB  
- used    cap: 1577216 MB  
- free cap: 1624353 MB  
- hot spare quota: 539893 MB  
- used hot spare cap: 0 MB  
details on tiers  
tier 2:  
- total cap: 0 MB  
- used cap: 0 MB  
- free cap: 0 MB  
- hot spare quota: 0 MB  
- used hot spare cap: 0 MB  
-----------------------------------------------

System Response

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138381

Views: 671056

Downloads: 36

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