[mythtv-users] monthly madam checkarray kills recordings

Hika van den Hoven hikavdh at gmail.com
Sun May 6 23:57:48 UTC 2018


Hoi scram69,

Monday, May 7, 2018, 1:47:47 AM, you wrote:





> On Sun, May 6, 2018 at 4:34 PM, Jerry <mythtv at hambone.e4ward.com> wrote:

> On Sun, May 6, 2018 at 7:23 PM scram69 <scram69 at gmail.com> wrote:





> On Sun, May 6, 2018 at 2:26 PM, Gary Buhrmaster
> <gary.buhrmaster at gmail.com> wrote:

> On Sun, May 6, 2018 at 4:27 PM, scram69 <scram69 at gmail.com> wrote:
 >> It's the first Sunday of the month, so I've just gone through the first raid
 >> checkarray re-sync on Ubuntu 18.04, having just upgraded from 14.04.
 >> /etc/cron.d/mdadm runs checkarray with the --idle argument, presumably so as
 >> not to kill disk performance for other processes.
 >>
 >> However, during the array check, all recordings failed with
 >> threadedfilewriter errors:
>  
>  "Idle" has different meanings to different apps.
>  You might want to throttle the max i/o rate for
>  sync (a good value will depend on your devices)
>  
>      dev.raid.speed_limit_max
>  
>  is likely the sysctl to look at.



> Thanks Gary.  I still have my old 14.04 system drive mounted. 
> Before I sysctl -w dev.raid.speed_limit_max=some_small_number, do
> you know where I might be able to find what the max speed limit was under Ubuntu 14.04?


> cat /proc/sys/dev/raid/speed_limit_max


> should do it :)
>  

> Right - that would work if I were actually booted under my old
> system (AMD64).   Unfortunately, I've upgraded both hardware (kaby
> lake) and OS, and can no longer boot up with that drive.  With the
> drive mounted on my new system I can inspect and copy files, but /proc is empty.


> I sincerely doubt I ever changed that limit under 14.04.  However,
> I've googled around for quite a while and can't seem to find what the default was.


> So I guess I'll just try a factor of ten: 200,000 -> 20,000 and see what happens in June...

I don't know if sysctl is managed the same way under ubuntu as under
gentoo. Every setting there must be set on every boot and those are
kept on Gentoo in /etc/sysctl.conf and/or /etc/sysctl.d/*.conf


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list