All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-12 20:57 Dirk Schenkewitz
  0 siblings, 0 replies; 94+ messages in thread
From: Dirk Schenkewitz @ 2003-02-12 20:57 UTC (permalink / raw)
  To: Reiserfs List


Oleg Drokin wrote (in response to Anders Widman):

> > > So it would be possible to do some actions to 
> > > 1) get some blocks back in the described way, 
> > > 1.1) write to really bad blocks should have remaped them 
> > >      already here if there is a space in remap area 
> > > 2) save bad blocks to badblock list in fs if they are still bad -
> > >    out of remap area. 
> > > Would be not bad to try to recover in this way already remapped 
> > > blocks - do not know how to get the list of them only.
> > > Ok, but what if the IO error you got is not a bad block, but 
> > > a bad cable? Do you want the fs to work in the described way? 
> > > Trying to fix all automatically? I am not sure.
> >
> >   How about trial and (then) error? :)
> 
> That might be suitable for fsck, but not for kernel I am sure.
> Kernel should just probably return error or try to use different 
> block (if it was doing write) and if certain number of attempts
> failed, return error too.
> Also remount R/O if write error is in system area (journal, 
> superblock, bitmaps) or special mount option was given that demands 
> remounting R/O on io errors.

I still feel that the system area should be DESIGNED to be extra-
robust against everything, because it is vital for the whole fs.
Btw, might such thoughts be the reason that ext2 has superblock
backups? I agree that a bad block in the system area is a good
reason for all kinds of alarm, but a really good fs should overcome
more than one without (unrecoverable) damage to the fs in whole.

happy coding
	dirk
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-20  9:55 Dirk Schenkewitz
  2003-02-20 10:20 ` Anders Widman
  0 siblings, 1 reply; 94+ messages in thread
From: Dirk Schenkewitz @ 2003-02-20  9:55 UTC (permalink / raw)
  To: Juan Quintela; +Cc: Reiserfs List

Hi Juan,

Juan Quintela wrote (in response to me):
>
> dirk> Not at my system - I have (for example) a 16 Gig partition with
> dirk> ext3 on it which is 100% full and has now 6100 kilobytes free space.
> dirk> No Problem (with getting ENOSPC, I mean :-)).
> dirk> Oh - wait a sec: do you usually reserve 5%-10% for the superuser?
> dirk> That might explain why you get ENOSPC at 95%-90%, because that
> dirk> reserved space is not taken into account... I normally tune the
> dirk> fs to reserve 0% for the superuser. I never needed the reserved
> dirk> space anyway.
> 
> that 5-10% is there not for the superuser (with today disks, that is
> a lot of space).  I was also going to reduce the percentage, but then
> somebody explained me that this porcentange needs to be free at all
> times to maintain the fragmentation low. And that makes a lot of
> sense, the bigger the disk, the more free space you need to have low
> fragmentation.


Thanks - I didn't know that... although it's logical. Hmm... high frag-
mentation should result in a slower access to (or better: higher response
time from) the fs, right? I haven't noticed some (I mean, it can be there,
but it cannot be very much). Then again, I did not do timing measurements,
and filesystems which get that full are not "working" filesystems, but 
"storage" filesystems, so there is not much movement on them. Hmm...
perhaps I should do a defragmentation on one of these filesystems and
compare before/after.

Have fun
	dirk
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-17 10:04 Dirk Schenkewitz
  2003-02-20  1:27 ` Juan Quintela
  0 siblings, 1 reply; 94+ messages in thread
From: Dirk Schenkewitz @ 2003-02-17 10:04 UTC (permalink / raw)
  To: Reiserfs List

Sorry for being that late, I didn't see it on first view.

Sam Vilain wrote:

> On Wed, 12 Feb 2003 08:43, berthiaume_wayne@emc.com wrote:
> > Dirk, I'd be interested in hearing from you your performance
> > experience with ext3 when it reaches 96% full.
> 
> No problem, because you get ENOSPC at 95% or 90%.

Not at my system - I have (for example) a 16 Gig partition with
ext3 on it which is 100% full and has now 6100 kilobytes free space.
No Problem (with getting ENOSPC, I mean :-)).
Oh - wait a sec: do you usually reserve 5%-10% for the superuser?
That might explain why you get ENOSPC at 95%-90%, because that
reserved space is not taken into account... I normally tune the
fs to reserve 0% for the superuser. I never needed the reserved
space anyway.

> Hmm, another feature SysAdmins actually find useful, missing in 
> reiserfs.
> Along with quotas (this feature is a lazy case of a quota, really).
> 
> On Wed, 12 Feb 2003 18:12, Ross Vandegrift wrote:
> > You have to start your software on some kind of foundation.
> > Working hardware sounds like a great place to me.
> 
> Hmm, you've never heard of redundancy or fault tolerance then.
> 
> What part fails the most in running systems ?  Disk platters.
> 
> CPUs might overheat and RAM might suddenly one day get a sticky bit,

Even then I'd like the OS to find out about that and inform me...

> but as  you point out there ain't much you can do about it.
> Except buy a Tandem, or use ECC memory.
>
> But with disks, you can.  Mirroring aside, modern hard disks use S.M.A.R.T. 
> technology which claims to be able to spot failures before they happen.  
> Many BIOSes will let you turn this feature on and off.  Of course I've 
> never actually seen it in action :-).

For me the most important thing is: if something is vital to a fs,
it must be protected even against hardware failure as good as possible.
For example, by making copies, or (perhaps) at least having reserved
space for a copy, and if some access fails, mark the blocks as bad,
give a warning (important) and start using the reserved space. 

Have fun
	dirk
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-14 14:30 Dirk Schenkewitz
  0 siblings, 0 replies; 94+ messages in thread
From: Dirk Schenkewitz @ 2003-02-14 14:30 UTC (permalink / raw)
  To: Reiserfs List

Sam Vilain  <sam@vilain.net> wrote:
> On Fri, 14 Feb 2003 09:08, Zygo Blaxell wrote:
> > ...
> > 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.
> 
> It actually stands for Meaningless, I'm sure :-)  Vendors should be 
> required to state this figure in terms of the number of unit failures 
> they experienced running X units for T amount of time.

It is not? I thoght it was just that: have 100 drives running for a year,
one failes, gives you a MTBF of 100 years per drive. No?

have fun
	dirk
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-14 14:20 Dirk Schenkewitz
  2003-02-14 20:58 ` Valdis.Kletnieks
  0 siblings, 1 reply; 94+ messages in thread
From: Dirk Schenkewitz @ 2003-02-14 14:20 UTC (permalink / raw)
  To: Reiserfs List


eazgwmin wrote:

> In article <3E4AA902.86F15815@interface-ag.com>,
> Dirk Schenkewitz  <Dirk.Schenkewitz@interface-ag.com> wrote:
> >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.

> >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?

> 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...

> >Hans Reiser wrote (in response to Anders Widman):
> >> 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.

> 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).

> 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
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-14  0:18 Sam Vilain
  2003-02-23 23:31 ` Zygo Blaxell
  0 siblings, 1 reply; 94+ messages in thread
From: Sam Vilain @ 2003-02-14  0:18 UTC (permalink / raw)
  To: Zygo Blaxell; +Cc: reiserfs-list

On Thu, 13 Feb 2003 16:42, Zygo Blaxell wrote:
> Last time I checked, Windows and Mac OS come to a near total halt when
> they see a disk error while doing a write on non-removable media, unless
> the application goes to extraordinary lengths to handle the error
> itself.

Perhaps it might, but it sure does a good job of cleaning them up with
ScanDisk.  And it almost certainly won't BSOD for a bad sector.

My experience is that it partially hangs the system while it retries the
write, but eventually comes back and the application either has died or
returns an error.  I actually think it's comparitively graceful.  I mean,
Windows might crash if you sneeze at it for no reason whatsoever, but it
handles disk errors quite well most of the time.  Baby's First FileSystem
(FAT) just doesn't have any structure to lose, which sure makes it
resilient.  Even if you get a bad block in the FAT it survives, because
there are two copies of it!

Windows doesn't handle resetting the IDE bus when it needs it very well,
I've seen one disk that didn't work in Windows but worked passably in
Linux because of this.  Of course it died a few months later :-).
--
Sam Vilain, sam@vilain.net

Real software engineers like C's structured constructs, but they are
suspicious of it because they have heard that it lets you get "close
to the machine."

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-14  0:17 Sam Vilain
  0 siblings, 0 replies; 94+ messages in thread
From: Sam Vilain @ 2003-02-14  0:17 UTC (permalink / raw)
  To: bscott; +Cc: reiserfs-list

On Thu, 13 Feb 2003 05:22, bscott@ntisys.com wrote:
>   "Not all users have UPSes (battery backups), nor can they find a UPS
> right away, so they have to be able to use their computers even though
> the power is out."

The power supply states 240V.  The system still runs when it is at 220V.

Hardware works within given tolerances.  It is not perfect.  This is a
fundamental.  One of those tolerances is a MTBF of disk surfaces.
--
Sam Vilain, sam@vilain.net

  By doing just a little every day, I can gradually let the task
completely overwhelm me.
ASHLEIGH BRILLIANT

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-14  0:16 Sam Vilain
  2003-02-23 23:10 ` Zygo Blaxell
  0 siblings, 1 reply; 94+ messages in thread
From: Sam Vilain @ 2003-02-14  0:16 UTC (permalink / raw)
  To: Zygo Blaxell; +Cc: reiserfs-list

On Fri, 14 Feb 2003 09:08, Zygo Blaxell wrote:
> Sam Vilain  <sam@vilain.net> wrote:
> >But with disks, you can.  Mirroring aside, modern hard disks use
> > S.M.A.R.>T. technology which claims to be able to spot failures before
> > they happen. Many BIOSes will let you turn this feature on and off.
> > Of course I've never actually seen it in action :-).
>
> I have seen SMART work.  At 11:20:30 I had a disk fail, then smartd put
> this in my logs:
> 	Nov  6 11:20:30 chlorine smartd: Device: /dev/hdb, Failed attribute: 3
> Oh, wait, you said "before"...no, I've never actually seen that in
> action either.

As you so eloquently point out in your below paragraph, I was missing the
word `some' in my statement.

> SMART does give you statistics on ECC recovery rates, temperature,
> number of remapped sectors, etc. which can give you a hint, if you keep
> track of them over time, when your disk is beginning to have more
> problems than it did have when it was newer.  Maybe about 50% of
> failures can be predicted this way (but you have no idea _when_ the
> failure will occur--this afternoon or next summer?) it's little better
> than the MTBF rating.  The other 50% of failures are predicted only
> after the fact.  :-P

Presumably 50% is a guess rather than a carefully measured statistic.  My
inclination would be towards thinking that 90% or more of failures that do
not happen around the time of a power state change would be noticable by
the ECC corrections first.  The failures that happen around the time of
power state change (including power spikes) would make your statistic more
or less correct.

> The position data was
> initially written using frighteningly expensive precision hardware at
> the disk drive factory and cannot be regenerated without said equipment.

Interesting; does this happen before the platter is inserted into the
 disk? I have heard that vendors each have specific low level format
 utilities, which perform the job of remapping failed sectors and I would
 have thought, writing this timing information.  Chickens and Eggs spring
 to mind, though.

> 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.

It actually stands for Meaningless, I'm sure :-)  Vendors should be 
required to state this figure in terms of the number of unit failures they
experienced running X units for T amount of time.
--
Sam Vilain, sam@vilain.net

Real software engineers write in languages that have not actually been
implemented for any machine, and for which only the formal spec (in
BNF) is available.  This keeps them from having to take any machine
dependencies into account.  Machine dependencies make real software
engineers very uneasy.

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-12 20:05 Dirk Schenkewitz
  2003-02-13 22:49 ` Zygo Blaxell
  0 siblings, 1 reply; 94+ messages in thread
From: Dirk Schenkewitz @ 2003-02-12 20:05 UTC (permalink / raw)
  To: Reiserfs List

Looks like i'm under a curse...

I can post, but I don't get any messages from the mailing list, 
only those that are explicitely addressed to me. I got to know
about all these other messages only because I requested the last
100 messages again :-/ Hmpf.

Back to the point:

Hans Reiser wrote (in response to Anders Widman):

> For some users it would be better to boot to a corrupted filesystem 
> because running fsck is more of a problem than putting their data at 
> higher risk.  For datalogging, it is probably conceivable to just toss 
> the journal and lose the more recent updates to it.  For the default 
> metadata journaling, this just does not seem prudent.

But I think that not everybody will know about if it's better to toss
the journal or to keep it. I wouldn't, and I know some people who are
much less interested in filesystems and the stuff around them than me.
Even SysOps.

> I really prefer making users understand that they have a problem they 
> need to do something about.  This is just my style.  I want them to fail 
> to boot, and after some effort learn that there is this thing called 
> fsck, and dd_rescue, and that it is time to buy another hard drive and 
> chuck their current one.

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. 

> It would be best though if they were given detailed instructions about
> how they need to do this when the code hits that bad block.

Agreed! 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.

> 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.

happy coding
	dirk
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Re: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-12 18:27 Anders Widman
  0 siblings, 0 replies; 94+ messages in thread
From: Anders Widman @ 2003-02-12 18:27 UTC (permalink / raw)
  To: reiserfs-list


> On Wed, Feb 12, 2003 at 06:40:04PM +0100, Anders Widman wrote:
>> 
>> > Every resource we have is going to go into getting V4 done and stable so
>> > that we can sell it in the summer.  Hopefully we will make it.
>> 
>>   Just a question. (I know lots of people will shout at me for asking,
>>   but please don't :) Will V3/4 be ported to Windows, or are we doomed
>>   to use the new MS database with integrated Palladium software?

> Have you supplied namesys with funding for a port?

  Nope,  I do not have the cash for that. I do have cash to buy myself
  a licence to use ReiserFS though, if it were sold.
>> 
>>   Linux  is  a great OS, but there are tools that I (and probably many
>>   other)  use  every  day that I need. One example is Adobe Photoshop,
>>   colour  management  and lots of other things - not to mention people
>>   who want to use games ;).

> Does Photoshop no longer run on a Macintosh?  Does colour management no longer
> run on a Macintosh?  As for games, have you considered a subscription to
> WineX or a game console.

No,  I  do  not  use Mac because they are simply to slow :). WineX and
similar is not fast enough, or stable enough to run most modern games.
But it is not all about the games, rather it is about all the software
that do exist in the Windows-world that has not yet been ported.

> I apologize, but I have a habit of hounding Windows users into admitting
> that the main reason they need Windows is because 1) their employer
> requires it (and my response is "The employer can supply the hardware and
> technical support.") or 2) They haven't really looked to see if it can be done
> elsewhere. or 3) a software vendor (like Autodesk) only supports Windows.

And  what  should  we  (Windows users) do when software vendors do not
support anything but Windows?

>> 
>>   As  of  now I can not completely go over to Linux. Therefore I would
>>   pay  to use ReiserFS on my Windows machines. Maybe I am the only one
>>   who would, but perhaps not.

> Out of curiousity, what do you think that reiserfs would buy you on windows?
> Would reiserfs be more of a benefit than a separate linux box running
> samba or nfsd?

  No,  Samba  and  NFS  would  defeat  some  of  the  benefit (speed) of
  ReiserFS. Though I do use ReiserFS over Samba for backup/storage of my
  data.

   - Anders


   


^ permalink raw reply	[flat|nested] 94+ messages in thread
* RE: Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-11 19:43 berthiaume_wayne
  2003-02-12 10:48 ` Dirk Schenkewitz
  2003-02-12 16:22 ` Sam Vilain
  0 siblings, 2 replies; 94+ messages in thread
From: berthiaume_wayne @ 2003-02-11 19:43 UTC (permalink / raw)
  To: Dirk.Schenkewitz; +Cc: reiserfs-list

	Dirk, I'd be interested in hearing from you your performance
experience with ext3 when it reaches 96% full.
Regards,
Wayne.

-----Original Message-----
From: Dirk Schenkewitz [mailto:Dirk.Schenkewitz@interface-ag.com]
Sent: Tuesday, February 11, 2003 1:59 PM
To: Reiserfs List
Subject: Corrupted/unreadable journal: reiser vs. ext3


Hi Guys,

Recently I read about ReiserFS V4, taking that as a reason to take
a look at ReiserFS again. But I'm not sure if it's worth to switch
from ext3/ext2 to reiser. Because:

More than a year ago, I made up one reiser-partition for playing
around. Well, first there seemed to be nothing special about it.
Then, one day, it suddenly couldn't read its journal anymore,
which prevented the system from booting. (about 2 weeks later I
discovered why: a bad power supply had caused physical damage to
that area of the hard disk) For some reason I don't recall anymore,
I couldn't find a reiserfsck or such. I found no way to get around
the case of a corrupted/unreadable journal.

Luckily, the partition was nearly empty, so I put on an ext3 system
on that partition. That went fine for just a few days, than the bad
disk area (which now held the ext3-journal) decided to strike again.
But guess what happened:
While booting the next time, the ext3 code discovered that the jour-
nal was unreadable (watching that, I thought "oh shit, not again" -
for less than a second), put out a short message stating that and 
that it will continue as ext2. No painfull attempts to recover the
journal - it just dropped it and continued, taking only a few seconds 
for that.
No data was lost! I sat there for some time, staring at the screen,
hardly believing it.

After that, I removed reiser-support from the kernels I used and
since then I only used ext3. If I lost some data since then, it was
only because I accidentally deleted it - there seems to be no way
to recover anything from ext3 (unlike ext2).

Because I have large amounts of data, reliability and solidness of
a filesystem are the most important things to me, then comes space-
efficiency, then speed. Sometimes some of my filesystems get 100%
full, having only some kilobytes left (of, say, 8Gig) until I clean
up. That's my personal situation & experiences.

Now my questions:
From reading the mails from this list, I suspect that a ReiserFS:
 - will sport poor performance (whatever that means, in terms of 
   absolute speed) if it gets more than 96% full. (*1*)
 - will fall far behind ext3 when it comes to reliability, robust-
   ness and crash recovery (at least when fsck is involved), 
 - and will have even more trouble (which may lead to complete fai-
   lure) if the journal cannot be accessed.
Is any of this still true?

(*1*): What if the filesystem contains rather large files, like
       CD-images, MP3s and such, filling it up completely ? Will
       it still slow down?

From what I wrote, you may think that I have some prejudice against
ReiserFS. That's true, I have, because I had a bad experience with
it. Anyway, if you (the developers and/or other people reading here)
can say that nowadays ReiserFS is better than ext3, even under my
personal harsh circumstances, I will give it another try. And now,
feel free to flame me. :-)

happy coding
	dirk
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread
* Corrupted/unreadable journal: reiser vs. ext3
@ 2003-02-11 18:59 Dirk Schenkewitz
  2003-02-11 20:27 ` Hans Reiser
  0 siblings, 1 reply; 94+ messages in thread
From: Dirk Schenkewitz @ 2003-02-11 18:59 UTC (permalink / raw)
  To: Reiserfs List

Hi Guys,

Recently I read about ReiserFS V4, taking that as a reason to take
a look at ReiserFS again. But I'm not sure if it's worth to switch
from ext3/ext2 to reiser. Because:

More than a year ago, I made up one reiser-partition for playing
around. Well, first there seemed to be nothing special about it.
Then, one day, it suddenly couldn't read its journal anymore,
which prevented the system from booting. (about 2 weeks later I
discovered why: a bad power supply had caused physical damage to
that area of the hard disk) For some reason I don't recall anymore,
I couldn't find a reiserfsck or such. I found no way to get around
the case of a corrupted/unreadable journal.

Luckily, the partition was nearly empty, so I put on an ext3 system
on that partition. That went fine for just a few days, than the bad
disk area (which now held the ext3-journal) decided to strike again.
But guess what happened:
While booting the next time, the ext3 code discovered that the jour-
nal was unreadable (watching that, I thought "oh shit, not again" -
for less than a second), put out a short message stating that and 
that it will continue as ext2. No painfull attempts to recover the
journal - it just dropped it and continued, taking only a few seconds 
for that.
No data was lost! I sat there for some time, staring at the screen,
hardly believing it.

After that, I removed reiser-support from the kernels I used and
since then I only used ext3. If I lost some data since then, it was
only because I accidentally deleted it - there seems to be no way
to recover anything from ext3 (unlike ext2).

Because I have large amounts of data, reliability and solidness of
a filesystem are the most important things to me, then comes space-
efficiency, then speed. Sometimes some of my filesystems get 100%
full, having only some kilobytes left (of, say, 8Gig) until I clean
up. That's my personal situation & experiences.

Now my questions:
From reading the mails from this list, I suspect that a ReiserFS:
 - will sport poor performance (whatever that means, in terms of 
   absolute speed) if it gets more than 96% full. (*1*)
 - will fall far behind ext3 when it comes to reliability, robust-
   ness and crash recovery (at least when fsck is involved), 
 - and will have even more trouble (which may lead to complete fai-
   lure) if the journal cannot be accessed.
Is any of this still true?

(*1*): What if the filesystem contains rather large files, like
       CD-images, MP3s and such, filling it up completely ? Will
       it still slow down?

From what I wrote, you may think that I have some prejudice against
ReiserFS. That's true, I have, because I had a bad experience with
it. Anyway, if you (the developers and/or other people reading here)
can say that nowadays ReiserFS is better than ext3, even under my
personal harsh circumstances, I will give it another try. And now,
feel free to flame me. :-)

happy coding
	dirk
-- 
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:dirk.schenkewitz@interface-ag.de

^ permalink raw reply	[flat|nested] 94+ messages in thread

end of thread, other threads:[~2003-02-24  1:14 UTC | newest]

Thread overview: 94+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-12 20:57 Corrupted/unreadable journal: reiser vs. ext3 Dirk Schenkewitz
  -- strict thread matches above, loose matches on Subject: below --
2003-02-20  9:55 Dirk Schenkewitz
2003-02-20 10:20 ` Anders Widman
2003-02-17 10:04 Dirk Schenkewitz
2003-02-20  1:27 ` Juan Quintela
2003-02-20  9:03   ` Anders Widman
2003-02-14 14:30 Dirk Schenkewitz
2003-02-14 14:20 Dirk Schenkewitz
2003-02-14 20:58 ` Valdis.Kletnieks
2003-02-14  0:18 Sam Vilain
2003-02-23 23:31 ` Zygo Blaxell
2003-02-24  1:14   ` Anders Widman
2003-02-14  0:17 Sam Vilain
2003-02-14  0:16 Sam Vilain
2003-02-23 23:10 ` Zygo Blaxell
2003-02-12 20:05 Dirk Schenkewitz
2003-02-13 22:49 ` Zygo Blaxell
2003-02-14  0:32   ` Hans Reiser
2003-02-14  8:18     ` Oleg Drokin
2003-02-14 10:13       ` Andreas Dilger
2003-02-14 10:17         ` Oleg Drokin
2003-02-14 10:50           ` Andreas Dilger
2003-02-14 10:59             ` Oleg Drokin
2003-02-14 13:34             ` Hans Reiser
2003-02-14 16:04               ` Rudy Zijlstra
2003-02-14 19:06               ` Andreas Dilger
2003-02-14 19:19                 ` Hans Reiser
2003-02-15 12:51                   ` Vitaly Fertman
2003-02-15 13:00                     ` Vitaly Fertman
2003-02-18 19:50                       ` Hans Reiser
2003-02-18 20:05                         ` Vitaly Fertman
2003-02-18 22:18                           ` Hans Reiser
2003-02-15 13:04                     ` Anders Widman
2003-02-15 13:23                       ` Oleg Drokin
2003-02-17 19:43                     ` Hans Reiser
2003-02-15 22:37                   ` Andreas Dilger
2003-02-18 18:21                     ` Hans Reiser
2003-02-18 19:22                       ` Oleg Drokin
2003-02-18 19:28                         ` Hans Reiser
2003-02-18 21:17                     ` Valdis.Kletnieks
2003-02-18 22:02                       ` Matthias Andree
2003-02-19  6:26                         ` Oleg Drokin
2003-02-18 22:23                       ` Hans Reiser
2003-02-12 18:27 Anders Widman
2003-02-11 19:43 berthiaume_wayne
2003-02-12 10:48 ` Dirk Schenkewitz
2003-02-12 10:59   ` Hans Reiser
2003-02-12 11:24     ` Frank Baumgart
2003-02-12 11:35       ` Stefan Traby
2003-02-12 11:54     ` Dirk Schenkewitz
2003-02-12 12:42       ` Hans Reiser
2003-02-12 13:25         ` Dirk Schenkewitz
2003-02-12 16:22 ` Sam Vilain
2003-02-12 16:53   ` Anders Widman
2003-02-12 17:19     ` Hans Reiser
2003-02-12 17:40       ` Anders Widman
2003-02-12 18:15         ` Dirk Mueller
2003-02-12 18:20           ` Anders Widman
2003-02-12 18:20         ` Chris Dukes
2003-02-13 20:08   ` Zygo Blaxell
2003-02-11 18:59 Dirk Schenkewitz
2003-02-11 20:27 ` Hans Reiser
2003-02-11 21:30   ` Mike Hodson
2003-02-11 21:47     ` Hans Reiser
2003-02-11 21:58     ` Hans Reiser
2003-02-12  6:35       ` Oleg Drokin
2003-02-11 23:11     ` Adam Goryachev
2003-02-11 23:17       ` Anders Widman
2003-02-12  0:12         ` Hans Reiser
2003-02-12 10:23           ` Anders Widman
2003-02-12 10:47             ` Hans Reiser
2003-02-12 11:12               ` Adam Goryachev
2003-02-12 13:42                 ` Anders Widman
2003-02-12 14:15                   ` Russell Coker
2003-02-12 15:26                     ` Anders Widman
2003-02-12 16:22                       ` bscott
2003-02-12 16:28                       ` Russell Coker
2003-02-12 16:40                         ` Anders Widman
2003-02-13  3:42                       ` Zygo Blaxell
2003-02-13 10:13                         ` Anders Widman
2003-02-13 14:44                           ` Rudy Zijlstra
2003-02-13  3:31                     ` Zygo Blaxell
2003-02-12 16:39                 ` Sam Vilain
2003-02-12  5:12         ` Ross Vandegrift
2003-02-12  7:17         ` Oleg Drokin
2003-02-12 10:17         ` Alexander Lyamin
2003-02-12 10:19           ` Alexander Lyamin
2003-02-12 16:25         ` Vitaly Fertman
2003-02-12 16:56           ` Anders Widman
2003-02-12 17:13             ` Oleg Drokin
2003-02-12  1:02       ` Mike Hodson
2003-02-12  7:25         ` Oleg Drokin
2003-02-12  9:45         ` Hans Reiser
2003-02-12 16:09         ` Sam Vilain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.