Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #203092 > unrolled thread
| Started by | Gabriel Evanoff <gevanoff@pandora.com> |
|---|---|
| First post | 2018-12-07 02:10 +0100 |
| Last post | 2018-12-07 02:10 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Throttle dev.raid.speed_limit_max to 1000 during preseed for package installs Gabriel Evanoff <gevanoff@pandora.com> - 2018-12-07 02:10 +0100
| From | Gabriel Evanoff <gevanoff@pandora.com> |
|---|---|
| Date | 2018-12-07 02:10 +0100 |
| Subject | Re: Throttle dev.raid.speed_limit_max to 1000 during preseed for package installs |
| Message-ID | <x2cOt-5CE-9@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
I wanted to follow up on this post for anyone who might be interested in a workaround for Bug#838503 (also mentioned in the bug thread here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838503 -- thanks to Steve McIntyre!). The key here is to use "partman/early_command" to load the md_mod kernel module and then set the value in /proc/sys/dev/raid/speed_limit_max once it actually exists. Using "partman/early_command" appears to be the only way to feed arbitrary commands into preseed around the time of the disk partitioning, but before it is far too late to be of any use performance-wise (eg as with "preseed/late_command"). There is no "partman/late_command", sadly, which would make this easier. When "partman/early_command" runs, the md_mod kernel module has not yet been loaded, so that needs to be done first. Just add the following to your preseed configuration: d-i partman/early_command string modprobe md_mod ; echo 1000 > /proc/sys/dev/raid/speed_limit_max This sets the raid sync for the duration of the preseed process.
Back to top | Article view | linux.debian.user
csiph-web