Skip to contentSkip to conversation

Corrupted/unreadable journal: reiser vs. ext3

DISCUSSION Dirk Schenkewitz 2 participants 2 messages Feb 14, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 9 lines · eazgwmin

In article <[email protected]>,

Quoted 3 lines · Dirk Schenkewitz

For me, it was alarming enough seeing ext3 drop the journal. In fact, THAT was the point where I went to investigate in other directions instead of blaming the filesystem.

The kernel block device messages complaining about I/O errors from the device aren't sufficient to tell you that there is a serious problem? Or was this device silently corrupting data without reporting errors?

Exactly - the kernel didn't report any problems - At least, I did not notice any.

Quoted 9 lines
Quoted 4 lines

The only problem is, that putting a bad drive to eternal rest might not solve the problem, as long as the REASON for the drive gone bad stays uncovered. (I had that said drive in use for less than 4 months (if my memory servers, er, serves my well) - it was like new.

I've had disks that were DOA (literally--Medium Errors during partitioning and mke2fs, followed by mechanical noises and total failure in a matter of a few minutes). I've had several disks that failed a week or two after first installation.

Forgive me: what is DOA?

Quoted 3 lines

The M in MTBF is Mean, not Maximum or Minimum. For every disk that lasts 10 years or more, there's an equal and opposite disk that dies within a few minutes.

Yeah, right, I know that. At least, theoretically ;-). I mean, if a disk drive fails within rather short time, it is most likely a mechanical defect, and you will hear unusual noises. My drive produced absolutely normal sounds, not-too-loud spinning noises, a little stepping noises, you know. And then, it turned out that no further damage was done after I replaced the power supply...

Quoted 10 lines
Quoted 5 lines

Hans Reiser wrote (in response to Anders Widman):

Quoted 2 lines

If we handle the journal block error without downtime, the user will never chuck the hard drive, and that is bad in the longterm.

Not agreed, unless you continue without a warning.

I'd prefer to continue in read-only mode, and refuse further read-write mounts with an error until the filesystem is fscked. I really like systems that can still boot and let me (attempt to) run diagnostic tools even when they're otherwise really unhealthy.

Exactly - that's my humble opinion, too. Just to emphasize it, If i get told by a program "there is a serious problem here, it will cost some of my abilities, but I can deal with it for a short time", then I'm really alarmed. But if I get told, "there is an extremly serious problem here, and I (*squeak*)...(*silence*)" (u know what I mean), then I rather think it's a problem of said program.

Quoted 4 lines

I don't care if recently written data is corrupt or missing--I probably didn't write to the diagnostic tools within the last journal interval, and if the filesystem is read-only I can't make any metadata corruption worse.

Right. I configured all my ext3 filesystems to remount-ro in case of error. A kernel panic would not help that much, because you need to find out what's wrong. Unless there are nasty noises from somewhere, in which case you still can decide to switch off the machine immediately, you most likely need a halfway running system to search for the problem (IMHO).

Quoted 5 lines

I would think that most people notice that something's wrong if they can't write to their filesystems any more. I certainly wouldn't want the filesystem to be modified if there's something known to be wrong with the metadata. But if I can't read any of the data at all because some tiny part of it is suspicious, I just get annoyed. :-P

You took the words right out my mouth! ((C) Meatloaf, many years ago)

happy coding
dirk

Signature · 6 lines
Dirk Schenkewitz 

InterFace AG                 fon: +49 (0)89 / 610 49 - 126
Leipziger Str. 16            fax: +49 (0)89 / 610 49 - 83
D-82008 Unterhaching         
http://www.interface-ag.de   mailto:[email protected]
#1 lore raw
Quoted 1 line · Dirk Schenkewitz

Forgive me: what is DOA?

Dead On Arrival. Originally from the medical field, where people could be 'Dead On Scene', or 'Dead On Arrival' at hospital. Has since been extended to include anything that;s hardware-wise broken out-of-the-box.