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 5000, 5000F, 6000, and 6000F V5 Series V500R007

This document is applicable to OceanStor 5110 V5, 5110F V5, 5300 V5, 5500 V5, 5600 V5, 5800 V5, 6800 V5, 5300F V5, 5500F V5, 5600F V5, 5800F V5, and 6800F 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).
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: EDOC1000181619

Views: 632594

Downloads: 252

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