I got a RPi4 with an external hard drive, it had a kernel panic
---[ end Kernel panic - not syncing: Attempted to kill init!
I pulled the plug on it and on restart I'm getting a bunch of filesystem errors:
EXT4-fs error (device sda1) in ext4_free_inode:363: Corrupt filesystem
I tried to force an fsck on reboot by:
sudo touch /forcefsck- add
fsck.mode=forceto/boot/cmdline.txt reboot --reboot
But the check completed and the error appeared again.
smartctlin my path, chose not to install new things while trying to figure this out.