Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reiserfs Crash killed gentoo :-(
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
chrisashton84
Apprentice
Apprentice


Joined: 12 Aug 2003
Posts: 192
Location: Peoria, IL (home) Urbana, IL (school)

PostPosted: Sun Oct 12, 2003 8:56 pm    Post subject: Reiserfs Crash killed gentoo :-( Reply with quote

So my reiserfs crashed (it was my root partition). Booted the install cd and reiserfsck'd it, it had an error that could 'only be fixed by running --rebuild-tree" so I did that - and got a heck of a lot of numeric files and directories in the 'lost+found' directory. I renamed all that I could figure out but now when gentoo boots it throws errors:
Code:

#dmesg
...
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
...
VFS: Mounted root (reiserfs filesystem) readonly.
Trying to move old root to /initrd ... failed
Unmounting old root

And this is what it shows during the boot:
Code:

---- Detecting USB devices
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
...
Failed to start /etc/init.d/checkroot
...
Calculating module dependencies... [ ok ]
Failed to calculate dependencies
...
Loading module emu10k1...
Failed to load module emu10k1... [ !! ] (even though dmesg showed it loaded)
...
Activating (possibly) more swap... [ ok ]
/sbin/rc: line 297: rm: command not found
Caching service dependencies...
/sbin/depscan.sh: line 31: rm: command not found
:0: assertion failed: system(rm 0f /var/lib/init.d/deptree)
* Failed to cache service dependencies

Then there's a bunch of lines (30-40) like
/sbin/rc: line 354: ln: command not found
with various commands there (ln, rm, mv, ls, ps)

Also, after I log on I cannot ls, ln, etc - those commands are gone.

Help? Should I try to reinstall these files from the install cd? Or what?

EDIT: find / -name ls finds it in /usr/bin/ls however if it use tab completion to search for /usr/bin/l* it isn't there and i can't run /usr/bin/ls, it doens't find it. This goes for all of the programs it couldn't find earlier.
Back to top
View user's profile Send private message
Regor
Guru
Guru


Joined: 06 Aug 2002
Posts: 545
Location: 39° 2' 48" N, 120° 59' 2" W

PostPosted: Mon Oct 13, 2003 9:24 am    Post subject: Reply with quote

Welcome to the ranks of those hosed by reiserfs :(

Despite the vehement denials by some who apparently have never had trouble with it - we do exist. Reiser is the only filesystem where I've lost data that wasn't due to user error or hardware/media failure; consequentially, I no longer trust it or use it.
_________________
Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis
Back to top
View user's profile Send private message
Sgaduuw
Tux's lil' helper
Tux's lil' helper


Joined: 17 Sep 2002
Posts: 133
Location: Rotterdam, Netherlands

PostPosted: Mon Oct 13, 2003 10:28 am    Post subject: Reply with quote

I've had the same problem a long time ago, I'm never using reiserfs again
since ext3 is pretty slow I've decided to experiment a bit, I'm quite happy with jfs and xfs :)
_________________
my website
Back to top
View user's profile Send private message
ben_h
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2002
Posts: 118
Location: Australia

PostPosted: Mon Oct 13, 2003 11:58 am    Post subject: Reply with quote

I seriously doubt it was caused by reiserfs itself. The code that you claim borked works perfectly for hundreds of thousands of people.

It's probably susceptible to some sort of error, maybe a specific corruption brought on by a flipped bit in memory, etc etc, I don't know. Anything -- but I doubt it's just reiserfs screwing up. That just doesn't make any sense.
Back to top
View user's profile Send private message
eee
Tux's lil' helper
Tux's lil' helper


Joined: 29 May 2003
Posts: 115
Location: MD

PostPosted: Mon Oct 13, 2003 12:18 pm    Post subject: me too Reply with quote

I've encouraged the rest of the development staff at my company to migrate to gentoo desktops. We had been quite happy until one of my co-workers power-cycled his desktop and found similar messages upon restart. He had been running gentoo-sources 2.4.20-r5 (I believe), so it's not as if this was an old release.

I've admonished him to not power cycle his PC anymore (unless necessary), but this is obviously not welcome advice when using a journalling fs. He had to re-install and stuck with reiserfs, I just hope he (or any of my other co-workers) won't regret that.

Until this happened, I'd been a happy reiserfs user and, honestly, I still am. Nevertheless, this is a real problem. How widespread it is, I can't say, but it does happen.
Back to top
View user's profile Send private message
bos_mindwarp
Apprentice
Apprentice


Joined: 19 Oct 2002
Posts: 275
Location: stockholm, sweden

PostPosted: Mon Oct 13, 2003 12:23 pm    Post subject: Reply with quote

I have last 3 installs gone, because reiserfs errors. 2 months ago I bought an WD Caviar SE with 8 mb cache, and checked the disc couple of times, and it was allright. Temperature in my case never goes over 36C, CPU temp is 40-41 on full load, HDD temperature is around 35-36C.

The installation lives about 1 month, then the filesystem gets corrupted somehow. I have hard to believe that this is happening because of faulty RAM or something, besides no other app is giving me problems, and if the memory was the problem, I'd found out about it sooner or later.

I feel that reiserfs would work nicely, I like the performance, but seems to me that I will just go with ext2 all around. What use is a journaling filesystem if it gets corrupted?
Back to top
View user's profile Send private message
fizz
Guru
Guru


Joined: 31 Aug 2003
Posts: 309
Location: Florida

PostPosted: Mon Oct 13, 2003 12:39 pm    Post subject: Reply with quote

/me crosses fingers
i have gentoo on two systems, both with reiserfs and forunatly havent had any problems of yet. Its performance i cant judge because ive never had a linux box at 2.2ghz :)
_________________
Athlon 64 3200, MSI NEO NForce 3, 1Gig PC3700, EVGA Geforce 6800 GT
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Mon Oct 13, 2003 1:44 pm    Post subject: Reply with quote

Ext3 is my safe bet for now.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
ben_h
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2002
Posts: 118
Location: Australia

PostPosted: Wed Oct 15, 2003 12:44 pm    Post subject: Reply with quote

Quote:
The installation lives about 1 month, then the filesystem gets corrupted somehow.
Considering how many possible reasons there are for this, I think it's unfair to just blame reiserfs. At least get some evidence suggesting it's reiserfs's fault before you make claims like that.

Well, that's what I think anyway. I'm not trying to start anything 8)
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Wed Oct 15, 2003 3:01 pm    Post subject: Reply with quote

I've had a huge problem with reiserfs and it keeps telling me its the harddisc when every other pgrogram out there says it is physically fine. I even had WD check it out (its a 120 gb 8 mb cache western digital) and they say physcially it is fine. So far I have no formatted it or anything because I have nothing to back the pertinent data up on and it has worked fine despite errors in reiserfsck.
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Wed Oct 15, 2003 7:20 pm    Post subject: Reply with quote

People who've had problems with reiser seem to be mostly (all?) using gentoo sources, maybe that's the root of the problem. I've been using reiser for several years on quite a few different systems and never had a problem although I'm more concerned with stability and use vanilla sources.

The last two times I installed Gentoo the link to reiserfsck was wrong, this could lead to problems for anyone who didn't fix it.
Back to top
View user's profile Send private message
Ulukay
Tux's lil' helper
Tux's lil' helper


Joined: 08 Oct 2002
Posts: 143

PostPosted: Thu Oct 16, 2003 7:28 pm    Post subject: Reply with quote

/me got problems with ext3
a simple suse server on ext3 crashed because someone diconnected the tokenring cable :D

now ALL servers are on reiserfs, without a problem

my two home pcs are also on reiserfs > no problem at all

but i've read that some people have got probs using reiserfs on hdds which are manually tuned with hdparm to max-performance
_________________
Jeden Tag erhöht sich zwangsläufig die Anzahl derer, die mich
am Arsch lecken können... Das ist heute DEIN Tag!
Back to top
View user's profile Send private message
tam
Guru
Guru


Joined: 04 Mar 2003
Posts: 569

PostPosted: Fri Oct 17, 2003 9:50 am    Post subject: Reply with quote

I'm running our Samba fileserver with gentoo, vanilla and ReiserFS. No problems (so far)
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Fri Oct 17, 2003 2:44 pm    Post subject: Reply with quote

I didn't manually tune my harddrive at all, in fact not even sure how to do it....nevermind safely. I started with the gentoo sources but upgraded to the vanilla 2.6 series and just recently the mm 2.6 series. Maybe sicne I started with gentoo-sources that could be the root of the problem.
Back to top
View user's profile Send private message
Isaiah
Guru
Guru


Joined: 25 Feb 2003
Posts: 359

PostPosted: Fri Oct 17, 2003 3:20 pm    Post subject: Reply with quote

Rieserfs and gentoo-sources here - have only had one incident (while playing with KDE3.2) and riesefsck fixed it up as good as new :wink:
Back to top
View user's profile Send private message
GenKreton
l33t
l33t


Joined: 20 Sep 2003
Posts: 828
Location: Cambridge, MA

PostPosted: Sat Oct 18, 2003 6:20 pm    Post subject: argh Reply with quote

Code:
root@flash kreton # reiserfsck /dev/hdb3
reiserfsck 3.6.11 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will read-only check consistency of the filesystem on /dev/hdb3
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes

The problem has occurred looks like a hardware problem.
If you have bad blocks, we advise you to get a new hard
drive, because once you get one bad block that the disk
drive internals cannot hide from your sight, the chances
of getting more are generally said to become much higher
(precise statistics are unknown to us), and this disk drive
is probably not expensive enough for you to risk your time
and data on it. If you don't want to follow that advice,
then if you have just a few bad blocks, try writing to the
bad blocks and see if the drive remaps the bad blocks (that
means it takes a block it has in reserve and allocates it
for use for requests of that block number).  If it cannot
remap the block, this could be quite bad, as it may mean
that so many blocks have gone bad that none remain in
reserve to allocate.

bread: Cannot read the block (29148965): (Input/output error).

Aborted


But like I said it has been working fine. I was told rebuilding sb and/or the tree wouldn't help so I haven't.
Back to top
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Sat Oct 18, 2003 7:39 pm    Post subject: Reply with quote

Well,
I've been using reiserfs for some time, and IMO it's the best hardware tester you can find. Where ext3 would slowly just get corruogdfghkls,b,x reiserfs would really stumble a lot earlier. It's faster but also more fragile (which is good since it detects b0rked hardware :-) )

This was especially obvious with VIA chipsets where I could barely mount a reiser filesystem ... ext3 would copy thinks and then mangle them, reiser just died.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum