LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 12-07-2005, 04:45 PM   #1
cspos
Member
 
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:
Code:
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:
Code:
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.

UPDATE:

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 10:09 PM.
 
Old 12-08-2005, 07:00 PM   #2
cspos
Member
 
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?
 
  


Reply


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 05:11 PM
Reiserfs system crash jacquedp Linux - Software 5 03-15-2005 09:31 AM
Software RAID: consequences of linux autodetect & persistent-superblock with reiserfs cbonar Linux - Hardware 0 01-08-2005 04:43 PM
Serious crash, problem reboot 2.6.7 kernel reiserfs robtheJobNorflk Slackware 0 10-16-2004 10:06 AM
moving system from ide software raid to new box with scsi raid ftumsh Linux - General 0 10-28-2003 10:34 AM


All times are GMT -5. The time now is 06:23 AM.

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