Replies: 1 comment
-
(I don't think "debut" is the word you wanted. It seems like you were using it in place of, perhaps, "calculate".) Depends on the version, pool layout, and various settings. RAIDZ available space estimation is always just that - an estimate. If you go write a bunch of ashift-sized records to a raidz or draid vdev, your space is going to vanish far faster than you might expect from just the raw amount of data you logically wrote, for example.
Then I believe the space that Finally, not just for raidz, but all your free space is going to be an estimate - since you can't know ahead of time how compressible your metadata for a given file is, for example, depending on what it contains, writing the same file or |
Beta Was this translation helpful? Give feedback.
-
1、First debut the space of the parity devices
AVAIL_SIZE = disk_size * ( devices_num - parity_num )
2、Then debut the space of the default spa_slop_shift = 5
AVAIL_SIZE = AVAIL_SIZE * (1 - (1 / 2 ^ 5)) = AVAIL_SIZE * 0.9687
Is this right?
I use the formula to get the result of a new pool avail size was numerical differences with zfs list AVAIL Attributes
Thanks
Beta Was this translation helpful? Give feedback.
All reactions