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


To have a better experience, please upgrade your IE browser.


Advanced O&M Command Reference

OceanStor 2800 V5 V500R007

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

spa queryvolcap


The spa queryvolcap command is used to view volume capacity.


spa queryvolcap -p pool id -l lun id -t volume type





pool id

Disk domain ID.

The ID can be obtained by running the show disk_domain general command in super administrator mode.

lun id



volume type

Volume type.

The value can be:

  • 0: data volume.
  • 1: meta volume.


Diagnostic view

Usage Guidelines



View volume capacity.

admin:/diagnose>spa queryvolcap -p 0 -l 0 -t 0 
LUN(0) data configure information:  
disk pool id: 0  
lun         id: 0  
total        size: 204800 MB 
init         size: 0 MB 
data  resv size: 30720 MB 
cow resv size: 0 MB 
size         type: META_AND_DATA_SIZE  
home pair id: 0 
LUN(0) data quota information:  
total        quota: 30720 MB 
data         quota: 30720 MB 
cow          quota: 0 MB 

LUN(0) data total capacity information:  
total used cap  : 28052 MB  
data  used cap  : 28052 MB  
COW used cap  : 0 MB  
migrate used cap: 0 MB  
extent size     : 4 MB  
details on tiers :  
tier id         : 0  
data used cap : 0 MB  
COW used cap : 0 MB  
alloc zone id : 0xffff  
quota zone id : 0xffff  

tier id         : 1  
data used cap : 28052 MB  
COW used cap : 0 MB  
alloc zone id : 0x4011  
quota zone id : 0x4011  

tier id         : 2  
data used cap : 0 MB  
COW used cap : 0 MB  
alloc zone id : 0xffff  
quota zone id : 0xffff  

related volume id :  
volume[0]      : 0xffffffffffffffff  
volume[1]      : 0x0  
volume[2]      : 0x1000000000

System Response


Updated: 2019-07-11

Document ID: EDOC1000181575

Views: 666232

Downloads: 30

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