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 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 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 queryvolquota

spa queryvolquota


The spa queryvolquota command is used to view volume quotas.


spa queryvolquota -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 LUN ID.

The value ranges from 0 to n minus one. n indicates the maximum number of LUNs.

volume type Volume type.

The value can be:

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


Diagnostic view

Usage Guidelines



View volume quotas.

admin:/diagnose>spa queryvolquota -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: 2020-01-17

Document ID: EDOC1000181602

Views: 750059

Downloads: 64

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next