Project development-ZFS Capacity Allocation

Source: Internet
Author: User
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-

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.