Closed stickz closed 1 year ago
Thank you for the new PR, but it is still too specific because the chunksize is only applied to the array mounted at /home
. Unfortunately installimage is not really built to support setting such things per array or mountpoint. In general such things are better handled in a post-install script.
@asciiprod My previous PR was too specific and could not be configured. I have created a new pull request. This PR allows the user to configure the raid chunk size of their
/home
partition. It will work on any raid level except for 1 which doesn't have chunk sizes. The user can choose one of the following values:< 64 | 128 | 256 | 512 | 1024 | 2048 >
. The default is 512KB.This pull request is inspired by the fact I'm storing large files on my Hetzner SX series dedicated root server. I want to be able to configure the raid chunk size to optimize hard-disk performance for this situation. The default 512KB chunk size is not optimal.