-
|
According to this post https://forums.truenas.com/t/the-problem-with-raidz/1589 the amount of space taken up by a file on raidz1 is affected by the number of drives in an array- with 3 and 5 being an optimal amount for a raidz1. Specifically, the relevant snippets here are:
This implies to me that when storing large files, users of a 4 drive array would only have at most Other calculations I've seen show that the limit of overhead tended to as file size increases is / is a multiple of Any help clarifying this would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
There's a useful info and great table with some calcs for different raidz configurations: https://openzfs.github.io/openzfs-docs/Basic%20Concepts/RAIDZ.html In short - yes, recordsize and ashift sizes matter, so is specific raidz configuration. If you want to calculate each byte - ZFS reserves some space too https://openzfs.github.io/openzfs-docs/man/master/4/zfs.4.html#spa_slop_shift |
Beta Was this translation helpful? Give feedback.
There's a useful info and great table with some calcs for different raidz configurations: https://openzfs.github.io/openzfs-docs/Basic%20Concepts/RAIDZ.html
In short - yes, recordsize and ashift sizes matter, so is specific raidz configuration.
If you want to calculate each byte - ZFS reserves some space too https://openzfs.github.io/openzfs-docs/man/master/4/zfs.4.html#spa_slop_shift