How to fix corrupted disk on RPi?

My Spotify Connect plugin recently stopped working and when I tried to uninstall it I got a strange error. Looking on the disk there’s a folder /data/plugins/music_service/volspotconnect2/node_modules/chalk/node_modules/ansi-styles that looks like this in ls:

? d??? ? ? ? ? ? ansi-styles/

I’m assuming that’s disk corruption. So how do you force fsck to run after boot? I’ve tried all the usual things, like sudo shutdown -rF now, touch /forcefsck, added it to the boot cmdline, but it doesn’t seem to run.

Volumio already tries to repair at boot if it founds corrupted drives…

1 Like

So what does that directory listing mean, if it’s not a corrupted file system?

And is there any other manual way I could try to fix it?