Hi,
I am running libreelec 10.0.1 on a raspberry pi 4. It is installed on a USB-harddisk/ssd.
I initiate a shutdown via kodi, the system shuts down, the harddisk/usb switches off
and after some seconds I pull out the power-socket. That works just fine. But
sometimes, when booting, the filesystem is corrupt and needs a fsck. The system waits
2 minutes.
Why does that happen? How can I shutdown/poweroff without damaged filesystem?
For me it looks like the usb-power is switched off before the filesystem is unmounted.
Is there any race-condition in the shutdown process?
Can I change the 2 min. wait somewhere? In my opinion it is useless to wait 2min. the
fsck can start suddenly.