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