DevHeads.net

Filesystem corruption

Hi!

I've brought my machine to the computer shop. They checked everything,
especially the PSU and the main board. All the capacitors are okay.
They couldn't find anything.

The main board is quite old, must be more than ten years. The HDD is 3
1/2 years old.

Now I still don't know the reason of the data corruption, which
wrecked my Kubuntu system. I've installed a new Ubuntu-19.04, and
found no corruption so far. The problem can't be reproduced. This
includes my dm-cache, which I've set up anew.

I'm worrying that the problem might hiddenly continue, and I don't
notice in time. :-( Good thing that I have multiple backups.

Thanks to all contributors to this thread.

Volker

Comments

Re: Filesystem corruption

By Bekkenes at 07/31/2019 - 08:10

Most computer systems have built in utilities for running diagnostics on
boot.
You said they checked everything, but you mentioned PSU and mobo
specifically.
Most issues with corrupt filesystems are either due to unexpected power loss
and older filesystems, but since you here on a Ubuntu mailing list this
shouldn't really be an issue.

Have you run diagnostics on your harddrives?

Re: Filesystem corruption

By Volker Wysk at 07/31/2019 - 08:39

Am Mittwoch, den 31.07.2019, 05:10 -0700 schrieb Bekkenes:
Yes, the SMART diagnostics have been checked, with help from this list.
They haven't revealed any problems.

The machine seems to run fine again, although it's unknown what the
reason of that "data corruption" was. The BIOS has been updated, the
SATA cables replaced, a new CMOS battery, a new OS installed (Ubuntu
18.04 LTS), no more SSD-as-a-cache...

You say "built in utilities for running diagnostics on boot" - do you
mean some tool built into the BIOS? I haven't encountered something
like that.

There is memtest86+, to be started from the GRUB boot menu. I've tried
that, but no errors have been found.

Bye,
Volker

Sv: Filesystem corruption

By Bekkenes at 08/01/2019 - 01:02

It was the system "built in" to BIOS i was referring to yes, normally shows up when you show up boot options, for some systems F12 on startup on machine.

Mostly you see this in OEM machines like Dell,HP etc, but i have also encountered it the last 8 or so years in other motherboard manufacturers.

Hopefully you are right and this will not be an issue anymore, but other then drive failure or a faulty motherboard, i cant really see what can cause this issue other then shutdown while some major readwrite action was going on at the same time, like systemupdate.

-Thomas

Am Mittwoch, den 31.07.2019, 05:10 -0700 schrieb Bekkenes:
Yes, the SMART diagnostics have been checked, with help from this list.
They haven't revealed any problems.

The machine seems to run fine again, although it's unknown what the
reason of that "data corruption" was. The BIOS has been updated, the
SATA cables replaced, a new CMOS battery, a new OS installed (Ubuntu
18.04 LTS), no more SSD-as-a-cache...

You say "built in utilities for running diagnostics on boot" - do you
mean some tool built into the BIOS? I haven't encountered something
like that.

There is memtest86+, to be started from the GRUB boot menu. I've tried
that, but no errors have been found.

Bye,
Volker

Re: Sv: Filesystem corruption

By Volker Wysk at 08/02/2019 - 12:35

Am Donnerstag, den 01.08.2019, 05:02 +0000 schrieb Thomas Bekkenes:
I've checked, but couldn't find any diagnostics tool in the BIOS. Also
checked the boot options screen, but no diagnostics tool.

Some software problem...?

I haven't noticed any new corruption so far.

Sorry for the late answer. I've been copying some 3 TB from one
external hard disk to another, and didn't want to stop it. Took two
days to complete. ;-)

Bye!

Re: Sv: Filesystem corruption

By compdoc at 08/02/2019 - 13:20

Re: Sv: Filesystem corruption

By Volker Wysk at 08/02/2019 - 13:44

Am Freitag, den 02.08.2019, 11:20 -0600 schrieb compdoc:
There is no such partition in the boot menu...

Volker

Re: Filesystem corruption

By compdoc at 07/31/2019 - 09:18

hurray!  \o/

Re: Filesystem corruption

By Little Girl at 07/08/2019 - 14:31

Hey there,

That's really good news and must be reassuring to hear.

I'd say that hard shut-downs are probably to blame. Somewhere in this
thread you had mentioned that you've done that at times. Not shutting
down a computer properly can corrupt a file system.

I don't know what the reason is for the non-standard shut-downs
you've done, but if those are done when all else fails, you might
want to consider adding the Alt+SysRq key combination to your
repertoire:

<a href="https://ubuntuforums.org/showthread.php?t=617349" title="https://ubuntuforums.org/showthread.php?t=617349">https://ubuntuforums.org/showthread.php?t=617349</a>

See also:

<a href="https://en.wikipedia.org/wiki/Magic_SysRq_key" title="https://en.wikipedia.org/wiki/Magic_SysRq_key">https://en.wikipedia.org/wiki/Magic_SysRq_key</a>

I've used Alt+SysRq+R+E+I+S+U+B to reboot or Alt+SysRq+R+E+I+S+U+O to
shut down on the very rare occasions when my system wouldn't
respond.

Re: Filesystem corruption

By Volker Wysk at 07/08/2019 - 14:46

Hi!

Zitat von Little Girl < ... at gmail dot com>:

Except that the caus is still unclear.

I haven't done any hard shut-downs since I've installed Ubuntu 19.04,
but now the problem struck again - see the other message "Filesystem
corruption - Problem strikes again".

I haven't had any bad trouble with hard shut-downs so far. You can
still do alt-ctrl-delete. There was never anything this badly broken...

Bye!
V.W.