spa showreclaiminfo
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
-p | Storage pool ID. | To obtain the value, run "show storage_pool general" in super administrator mode. |
Example
Query space reclamation information about storage pool "0".
admin:/diagnose>spa showreclaiminfo -p 0 ------------------Basic Info------------------ Disk Domain ID : 0 Storage Pool Reclaimed Capacity : 0 MB Start Reclaim Time : 0 Last Cycle Ratio : 0 MB/S Current Ratio : 0 MB/S Time : 0 S Need Reclaim Storage Pool Num : 0 ------Storage Pool Reclaim Capacity Info------- All Need Reclaim : 0 MB Extent Log Type : 1 Storage Pool Reclaim Capacity Unit : 10 GB --------Disk Domain Alloc Capacity Info-------- Alloc Capacity : 0 MB Last Cycle Ratio : 0 MB/S Current Ratio : 0 MB/S Time : 1 S -------Disk Domain Reclaim Capacity Info------- Reclaim Capacity : 0 MB Last Cycle Ratio : 0 MB/S Current Ratio : 0 MB/S Time : 1 S
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Disk Domain ID | Disk domain ID. |
Storage Pool Reclaimed Capacity | Reclaimed capacity of a storage pool. |
Start Reclaim Time | Start time of storage pool space reclamation. |
Last Cycle Ratio | Speed of the last space reclamation for a storage pool. |
Current Ratio | Current space reclamation speed of a storage pool. |
Time | Duration of storage pool space reclamation. |
Need Reclaim Storage Pool Num | Number of storage pools whose space is being reclaimed in a disk domain. |
All Need Reclaim | Total capacity to be reclaimed in a storage pool. |
Extent Log Type | Log type for storage pool space reclamation. The value "1" indicates that logs are recorded for space reclamation and value "0" indicates no logs for space reclamation. |
Storage Pool Reclaim Capacity Unit | Current space reclamation granularity of a storage pool. |
Alloc Capacity | Capacity that is being allocated or released by a storage pool. |