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 2000, 5000, and 6000 V3 Series V300R006

This document is applicable to OceanStor 2200 V3, 2600 V3 Video Surveillance Edition, 2600 V3, 5300 V3, 5500 V3, 5600 V3, 5800 V3, and 6800 V3. 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

Function

The spa queryvolcap command is used to view volume capacity.

Format

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

Parameters

Parameter

Description

Value

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.

-

volume type

Volume type.

The value can be:

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

Views

Diagnostic view

Usage Guidelines

None

Example

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

None

Translation
Download
Updated: 2019-07-12

Document ID: EDOC1000138402

Views: 630368

Downloads: 703

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