On 22/10/2020 23:08, Markus Robert Kessler wrote:
> On Thu, 22 Oct 2020 14:48:10 +1300 Richard Falken wrote:
>
>> Re: Re: SDCard -- install here and deploy there?
>> By: Markus Robert Kessler to All on Thu Oct 22 2020 05:35 pm
>>
>> > To be on the safe side I make / made a reboot every night. From this
>> > the
>>
>> I know I am not helping, but rebooting "just because" is bad practice.
>> If anything, reboot the service you need to reboot. And it is still bad.
>> Much better to have a watchdog or something email you if there is any
>> issue.
I agree with that. The majority of downtime across my dozen Pis are
issues after reboots. It ranges from network dropping out while booting,
to hardware not being ready, and of course the SD card throwing a wobbly.
If the system is remote, I would not automatically reboot. If it needs
rebooting, have someone there power cycle it, and wait until it has
rebooted in case it needs another power cycle.
> on my RPI-3 I used to have a watchdog service. But by some reason the
> system hung instead of doing a hardware-reboot. Maybe there was a kernel
> module mismatch. So, I switched it off.
>
> Besides this, a watchdog may put your SDCard in a state where an fsck is
> demanded for. So, the system does not start non-interactively next time.
You can configure it to do an automated fsck on every reboot, which
doesn't need any interaction. It can add a minute or two to the boot
time, and you need to check the logs regularly as if the card is
starting to get dodgy it can struggle on fixing itself up to the point
where it dies completely. What you should do is replace it immediately
there is any doubt.
But the best solution (if not using a Pi A or Zero) is to use something
other than SD for the root filing system.
---druck
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|