Re: Filesystem corruption

2007-05-30 Thread devsk
I think people just like to spread FUD without doing any analysis of what 
really caused the FS corruption. It can be anything from a bad 3rd party driver 
to bad hardware ('bad blocks', does anybody check for them before mkfs these 
days? I do). People also like to try those untested patchsets, containing every 
blah that's thrown out by so called 'kernel hackers' which makes your system 
10x faster. Rieser4 seems like an easy candidate to vent their anger on 
afterwards.

I have used R4 for a year now and I have had to reset my PC, troubleshooting 
problems with vmware/mythtv/cisco vpn client/nvidia, so many times that its not 
even funny! And R4 didn't give me any problems even once. It boots right up, 
without any files lost and consistent FS as a subsequent livecd boot and fsck 
proved it everytime. If I did that to ext or xfs, I would have lost big time. 
Only files I have ever lost were on ext3 during a sudden power failure. I don't 
trust safety of my data on any FS but Rieserfs. I hope people don't leave this 
good piece of code to rot!!

-devsk

- Original Message 
From: Toby Thain [EMAIL PROTECTED]
To: David Masover [EMAIL PROTECTED]
Cc: ReiserFS List reiserfs-list@namesys.com
Sent: Wednesday, May 30, 2007 9:42:01 AM
Subject: Re: Filesystem corruption


On 30-May-07, at 10:25 AM, David Masover wrote:

 On Tuesday 29 May 2007 07:36:13 Toby Thain wrote:

 but you can't
 mention using reiserfs in mixed company without someone accusing
 you of
 throwing your data away.

 People who repeat this rarely have any direct experience of Reiser;
 they repeat what they've heard; like all myths and legends they are
 transmitted orally rather than based on scientific observation.

 Well, there is one problem I vaguely remember that I don't think  
 has been
 addressed, I think it was one of those lets-put-it-off-till-v4  
 things. It was
 the fact that there are a limited number of inodes (or keys, or  
 whatever you
 call a unique file),

But does it cause data loss? One usually sees claims that reiserfs  
ate my data, or I heard reiserfs ate somebody's data, but without  
supplying a root cause - bad memory? powerfail? bad disk? etc.

 and no way of knowing how many you have left until your
 FS will suddenly, one day refuse to create another file.


 ... switching away from Reiser4
 means I no longer see random files (including stuff in, for  
 example, /sbin,
 that I hadn't touched in months) go up in smoke.

I only wish sanity had prevailed over  kernel inclusion, then we'd  
see it shaken down a lot quicker, like R3 was.


 Ordinarily I like to help debug things, but not at the risk of my  
 data. Maybe
 I'll try again later, and see if I can reproduce it in a VM or  
 somewhere
 safe...

 I do still follow the list, though, in case something interesting  
 happens.

Yeah, R4 is something interesting. :) I still hope it gets finished...

--Toby

 It
 was fun while it lasted!








   
Boardwalk
 for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's 
economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow  

Re: Filesystem corruption

2007-05-30 Thread devsk
David, Its funny how my setup is very similar to yours: gentoo, amd64, nvraid 
using dmraid. mount/mkfs is VERY fast (less than a second) here, and I don't 
use any specific mount options except noatime. My partition is about 16GB 
though, hosting '/' and /home.

what sources do you use? I use gentoo-sources (currently using 2.6.21-r2) with 
the latest stable patch (currently 2.6.21) from namesys, applied manually. 
Nothing else. I use suspend-to-ram (with a UPS) and the whole system is rock 
solid.

-devsk

- Original Message 
From: David Masover [EMAIL PROTECTED]
To: devsk [EMAIL PROTECTED]
Cc: Toby Thain [EMAIL PROTECTED]; ReiserFS List reiserfs-list@namesys.com
Sent: Wednesday, May 30, 2007 1:03:14 PM
Subject: Re: Filesystem corruption

On Wednesday 30 May 2007 12:22:17 devsk wrote:

 I have used R4 for a year now and I have had to reset my PC,
 troubleshooting problems with vmware/mythtv/cisco vpn client/nvidia, so
 many times that its not even funny! And R4 didn't give me any problems even
 once. It boots right up, without any files lost and consistent FS as a
 subsequent livecd boot and fsck proved it everytime.

That happened to me for maybe a year or so, I'm not sure. Then, slowly, I 
started to get problems. The machine crashing due to some nvidia bug -- or 
even a reiser-specific oops or something -- then I'd have to fsck it, which 
would take an hour or more, then I'd boot, and apparently no problems.

Only, recently, these fsck-a-thons started happening more and more often, and 
I started to lose random files. They'd just be silently truncated to 0 bytes. 
And not files I was writing a lot -- I'm talking about things 
like /bin/mount.

Now, maybe it's an amd64-specific bug. Or (somehow) a dmraid-specific bug, or 
a dont_load_bitmap bug. (Who can blame me; without dont_load_bitmap, it takes 
at least 30 seconds, maybe a minute to mount.) Could even be, somehow, a 
Gentoo-specific bug. Could be a 350-gig-partition bug, or even a bug of the 
it-hates-me variety. (My server ran Reiser4 for awhile longer, with no 
problems, but I wasn't about to take chances there.)

But, I switched a friend over to Ubuntu, and he had the same kind of problems. 
In fact, he had them first (I thought it was his computer, for awhile).

Finally, we switched to stock Ubuntu kernels and XFS, me on dmraid, him on 
normal linux raid5 (md), and we now have no problems. It's even faster -- the 
biggest gain for Reiser4 was /usr/portage, which doesn't exist on Ubuntu.

 If I did that to ext 
 or xfs, I would have lost big time.

Well, I'm on XFS on my desktop now, and ext3 on my server. No problems at all 
so far. Also much faster, because my desktop now has a repacker (xfs_fsr).

 I hope people don't leave this good piece of code to rot!!

Me too, but you know, I can no longer afford to spend a few hours running fsck 
for no apparent reason. I no longer have a machine that can do anything but 
just work.

The killer feature of Reiser4, as implemented, is small file performance that 
makes ReiserFSv3 weep, and v3 makes XFS weep. All the other stuff we were 
promised is either planned for a later release (repacker, pseudofiles, 
transaction API) or barely working (cryptocompress).

And on just about any setup I work on today, small file performance is a small 
enough priority that even the slightest hint of instability is a 
deal-breaker. Enough people feel the same way that ext3 is still widely used. 
And if it's ever really crucial, there's reiserfs3.

So, you can blame it on my hardware, or on not getting kernel inclusion, or 
anything you want, but the only place I still use Reiser4 is on the 
gameserver at our LAN party, and we're thinking of moving that to something 
like ext3 or xfs, just so we don't need custom kernels. And after all, that's 
a gameserver, it's not like the filesystem is the bottleneck anyway.







   
Building
 a website is a piece of cake. Yahoo! Small Business gives you all the tools to 
get online.
http://smallbusiness.yahoo.com/webhosting