Storage pool
Allocated
The amount of actually allocated storage space in the pool. This attribute can also be referenced by its short column name alloc.
Capacity
Percentage of used pool space. This attribute can also be referenced by its short column name cap.
Dedupratio
The deduplication rate specified for the pool, expressed by the multiplier factor.
This value is expressed in decimal number. For example, a value of 1.76 dedupratio indicates that data in 1.76 units is stored, but the actual disk space consumed is only one unit. This attribute can also be referenced by its short column name dedup. You can enable deduplication as follows: # ZFS set dedup = on pool/dataset defaults to off (off ).
Free
The number of unallocated blocks in the pool.
Size
The total size of the storage pool.
These spaces use properties to report the actual available physical space of the storage pool. Physical space may be different from the total amount of space. The latter is the actual amount of space available for all contained datasets. The amount of space used in the raidz configuration depends on the features of the written data. In addition, ZFS reserves some space for internal accounting. The ZFS (1 m) Command considers this, but the zpool command does not. These effects cannot be seen if the pool size is not full. These differences may become more obvious for small pools, or pools close to full pools.
Zpool get allocated, capacity, free, size "pool_name"
[Email protected]: ~ # Zpool get allocated, capacity, free, Size Test
Name property value source
Test allocated 134 K-
Testing capacity 0%-
Test Free 1.81 TB-
Test size 1.81 T-
[Email protected]: ~ # Zpool get allocated, capacity, free, size rpool
Name property value source
Rpool allocated 4.00g-
Rpool capacity 53%-
Rpool free 3.43 GB-
Rpool size 7.44 GB-
[Email protected]: ~ # Zpool get allocated, capacity, free, size tank
Name property value source
Tank allocated 729g-
Tank Capacity 34%-
Tank free 1.38 TB-
Tank size: 2.09 TB-