Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-07-2005, 03:45 PM   #1
Registered: Jul 2004
Distribution: Debian
Posts: 60

Rep: Reputation: 15
Software RAID 5 / Reiserfs Crash

I haven't been able to boot since my last power outage. Everything goes fine until mdadm tries to load md1, which is a RAID 5 array and also my root partition. I get this output:
md: md1 stopped.
mdadm: /dev/hde3 has wrong uuid.
mdadm: /dev/hdg3 has wrong uuid.
mdadm: /dev/hdc3 has wrong uuid.
mdadm: no devices found for /dev/md1
ReiserFS: md1: warning: sh-2006: read_super_block: bread failed (dev md1, block 2 size 4096)
ReiserFS: md1: warning: sh-2006: read_super_block: bread failed (dev md1, block 16 size 4096)
ReiserFS: md1: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on md1
pivot_root: No such file or directory
/sbin/init: 432: cannot open dev/console: No such file
Kernel panic: Attempted to kill init!
Since my root partition is /dev/md1, I obviously can't get into it to edit anything. I run my boot loader off of an ext2 partition.

I tried booting into Knoppix and creating a RAID 5 array from the same partitions using mdadm. It seems to load correctly, but I can't mount it. If i specify -t reiserfs in the mount command, it give me an error that it can't read it.

EDIT: error message:
mount: wrong fs type, bad option, bad superblock on /dev/md0, or too many mounted file systems
Any help would be great right now. Even if I can't fix the system, I still need to recover the data on these discs. I have a 10 page research paper due in about 40 hours that's on this array, and I can't get to it. So needless to say, I'm willing to try anything.


Under Knoppix, I ran reiserfschk --rebuild-sb /dev/md0 which seemed to fix my superblock. Then I was able to run reiserfsck -S --rebuild-tree /dev/md0 which spent about 4 hours going through the journal. After that, I could mount the array and browse around. The only problem is that my home directory is missing, and that's where the files I need are. I rebooted to see if I could boot into my Debian install, but I still got the uuid error. Any ideas?

Last edited by cspos; 12-07-2005 at 09:09 PM.
Old 12-08-2005, 06:00 PM   #2
Registered: Jul 2004
Distribution: Debian
Posts: 60

Original Poster
Rep: Reputation: 15
I ran reiserfsck -S --rebuild-tree /dev/md0 again under Knoppix and it recovered a few more files. But quite a few were still missing.

So I ran updatedb and ran a search to find my files. I found a lot more this way in lost+found, but many are still missing. Is there anything I can do to recover them?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
reiserfs slight occasional corruption on software RAID-5 arrays Cairan Linux - Software 3 07-11-2006 04:11 PM
Reiserfs system crash jacquedp Linux - Software 5 03-15-2005 08:31 AM
Software RAID: consequences of linux autodetect & persistent-superblock with reiserfs cbonar Linux - Hardware 0 01-08-2005 03:43 PM
Serious crash, problem reboot 2.6.7 kernel reiserfs robtheJobNorflk Slackware 0 10-16-2004 09:06 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 09:34 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:59 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration