Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5077

Troubleshooting • fstrim !

$
0
0
My raspberry pi 4B was happily running a fully updated bookworm lite.
This pi has one job - pihole which it has run for years. Bookworm lite was installed the week it was released.
This Monday morning pihole was not running. I was unable to ssh so it was power cycle time.
Running journalctl -f, I found the machine died shortly after with the last entry fstrim running. I disabled fstrim.timer and the machine runs happily.
If I run fstrim -av then bang - it is power cycle time

Code:

sudo fstrim -av/boot/firmware: 442.9 MiB (464455680 bytes) trimmed on /dev/mmcblk0p1/: 8.1 GiB (8707072000 bytes) trimmed on /dev/mmcblk0p2pi@pi-hole4:~ $ ^Cpi@pi-hole4:~ $ sudo reboot-bash: /usr/bin/sudo: Input/output error
Whilst I order a new sd card has anyone got any answers.

Statistics: Posted by MotoBlue — Mon Mar 18, 2024 5:29 pm



Viewing all articles
Browse latest Browse all 5077

Trending Articles