Post details: kaput

16 December, 2006

Permalink 19:48 UTC, by Josh Saddler Email , 214 words, 1290 views   English (US)
Categories: Gentoo

kaput

Confirmed. The RAID array is dead, toasted. The hardware itself is okay, but I ran reiserfsck --rebuild-tree after fixing the superblock on /dev/md2 (/). Should have just stuck with fixing the superblock and rebooted.

For whatever reason, reiserfsck decided that almost every last bit of data on the disk should be moved to /lost+found. And now I have an unusable workstation. The only working dir is /bin. Even commands like less don't work. I can cd, ls, and su. That's about it.

Time to reboot with a liveCD and hope that somewhere in the ~40GB of data I really want I can find my /home and start pulling stuff out of it. Reinstalling wouldn't be so bad; after all, I only installed Gentoo on this thing a couple of months ago. Setting everything back up would be annoying and time-consuming, but not fatal. What really pisses me off is that I had backed up everything from the laptop to the workstation before wiping two years' worth of data from the laptop.

At least md1 (/boot) is working. This really drives home the point that RAID1 is not a backup; it's just redundancy. Now I have redundant failures. Next time, I'll put /home on its own partition.

Stupid reiserfsck. Stupid me for running it.

Trackback address for this post:

http://planet.gentoo.org/developers/htsrv/trackback.php/1140

Comments, Trackbacks:

Comment from: Toralf F [Visitor] Email
My experiences with reiserfs/reiserfsck are nearly idetnical. This file system (at least the check util in v3) isn't useable, the fsck destroys more data than it could ever recover. I switched back from reiserfs to the save ext3.

PermalinkPermalink 16 December, 2006 @ 20:22
Comment from: Branno Badrljica [Visitor] Email
Reiserfs IMHO totally sucks and it suckes even more if your system is prone to abrupt reset, pover failure etc.

For me ext3 is comparable to reiser, provided using decent options and correct-E stride=Y
when doing mke2fs.


When recovering the data from foobared disk it really helps of you know the structure of the file.

If it is a textual file you can search drive cestor by sector for some word and then see if consecutive sectors "line up"- if not, search for the missing piece etc. But be carefull, since reiserfs likes to have several copies of the same file with generation counter indicating the last one or somesuch, so be sure to finda all the candidates, before deciding about the most recent one...

Same goes for some standard files, like gifs, jpegs etc.

I have lost only copy of some 60+ already issued receipts and managed to recover them later from such carnage bit by bit...



PermalinkPermalink 16 December, 2006 @ 21:48

Leave a comment:

Your email address will not be displayed on this site.
Your URL will be displayed.

Allowed XHTML tags: <p, ul, ol, li, dl, dt, dd, address, blockquote, ins, del, span, bdo, br, em, strong, dfn, code, samp, kdb, var, cite, abbr, acronym, q, sub, sup, tt, i, b, big, small>
(Line breaks become <br />)
(Set cookies for name, email and url)
(Allow users to contact you through a message form (your email will NOT be displayed.))

Josh Saddler

The journal of Josh Saddler (nightmorph), a documentation developer.

October 2008
Mon Tue Wed Thu Fri Sat Sun
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 49

powered by
b2evolution