spa querypoolcap
Function
The spa querypoolcap command is used to query the capacity of the disk domain.
Format
spa querypoolcap -p pool id -t pool type [ -s pair id ]
Parameters
Parameter |
Description |
Value |
---|---|---|
pool id |
Disk domain ID. |
To obtain the value, run the "show disk_domain general" command. |
pool type |
Disk domain type. |
The value can be "0", "1", or "2", where:
|
pair id |
Pair ID. |
The value is an integer ranging from "0" to "15". |
Views
Diagnostic view
Usage Guidelines
None
Example
Query the capacity of the disk domain whose ID is "0".
admin:/diagnose>spa querypoolcap -p 0 -t 0
Local disk pool data capacity information
pool id: 0
-----------------------------------------------
total cap: 3741463 MB
used cap: 1577216 MB
free cap: 1624353 MB
hot spare quota: 539893 MB
used hot spare cap: 0 MB
details on tiers
tier 0:
- total cap: 0 MB
- used cap: 0 MB
- free cap: 0 MB
- hot spare quota: 0 MB
- used hot spare cap: 0 MB
details on tiers
tier 1:
- total cap: 3741463 MB
- used cap: 1577216 MB
- free cap: 1624353 MB
- hot spare quota: 539893 MB
- used hot spare cap: 0 MB
details on tiers
tier 2:
- total cap: 0 MB
- used cap: 0 MB
- free cap: 0 MB
- hot spare quota: 0 MB
- used hot spare cap: 0 MB
-----------------------------------------------
System Response
None