Any way to check for file system corruption ? Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
echable
Posts: 30
Joined: Mon May 20, 2019 3:03 pm

Any way to check for file system corruption ?

Post by echable »

Hi

I know you're supposed to shut down the Pi (and other boards) with "sudo poweroff" before unplugging them. (that is the right command, right ?)

I forgot to do this this morning when I replugged several things, so at some point both my precious RPi servers have gotten plugged, unplugged in the middle of bootup, plugged again, a few times ... :(

They seem to work ok but I'm concerned about lurking issues and long-term stability, especially since I intend to leave these servers running remotely with no physical access for months.

Is there any way I can check for file system / SD card corruption ? If not a DietPi-specific utility, some general Linux SSH commands perhaps ?

Thank you for your help.
echable
Posts: 30
Joined: Mon May 20, 2019 3:03 pm

Re: Any way to check for file system corruption ?

Post by echable »

Thank you. Interesting to learn about Linux, but I just did a reflash anyway to not have to worry.

Weird: clicking your link reloads the forum page, to read the link I had to copy+paste its actual text.
User avatar
MichaIng
Site Admin
Posts: 2418
Joined: Sat Nov 18, 2017 6:21 pm

Re: Any way to check for file system corruption ?

Post by MichaIng »

@echable
Also dietpi-drive_manager allows to run file system checks, for root fs on reboot.

@johnvick
Hehe jep, links are wrong when you use the "hyperlink=" option and just add the link between the open and close directives: https://dietpi.com
Using this the link must be placed after "=" while the other location can be used to define a custom text, e.g.: DietPi website

Easier is the "url" directive, available by the button/symbol between inserting images and flash content. This does not allow custom text but simply shows the URL it also points to, e.g.: https://dietpi.com
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: Any way to check for file system corruption ?

Post by johnvick »

@MichaIng

Thanks hadn't been aware of that.
Post Reply