LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-31-2002, 07:07 PM   #1
Devoras
LQ Newbie
 
Registered: Dec 2002
Posts: 2

Rep: Reputation: 0
Unhappy Software RAID0 mess up, help!


I need help big time.

I have a file server running Red Hat Linux 7.3. It was built around 6 months ago and has 3 HDD's, one is for the primary linux installation, the other 2 (IBM Deskstar 120GB) are running Software RAID 0 as a public file store Samba'd to the rest of the home network

I just got another 2 drives (the exact make) and I plugged one of the drives into where the CD-ROM was... except my biggest mistake was forgetting to change the new hard drive from Master to Slave And so on booting up (no slip ups from the BIOS) linux prepped the md0 (raid array) and noticed the second drive wasn't quite right (i.e. file blocks weren't equal), and it decided to modify the Superblock (assumedly on the first drive in the array)... I can't find it in the messages but I was sure it changed the fs from ext3 journaled to ext2, and then a prompt came up asking if I wanted to continue to boot... which came with a "no" from me and shutting the system down

I rebooted (without the new drive) and it promptly spent 20 minutes fsck'ing the arrayed drives (where the message log said: "journal inode not in use, but contains data. CLEARED". So now when it tries to mount the array, first it reports "wrong fs type, bad option, bad superblock on device /dev/md0. or too many mounted files systems". Also when the md program (driver version 0.90.0) loads up, it reports that the raid personality 2 cannot be found (I'm guessing when the 2nd drive "disappeared") and that "do_md_run returns -22".

I cannot remember whether it is a linear raid 0, but is there any tool or command I can run where the raid driver is forced to remap all the data... or anyway to get the backup inode info returned? I'm sitting here with the thought that 210GB of data has disappeared all because of a Master/Master conflict.... arghhhhh! Either way I'm seriously considering lvm, even before this occurred. Any help would be appreciated.
 
Old 01-01-2003, 11:20 PM   #2
Devoras
LQ Newbie
 
Registered: Dec 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Problem solved... fortunately the drive array seemed messed up (I put too much faith in the bootup messages)... a few fsck'ing options and a manual mount, the data there just gagging to be backed up!
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mess up with the installation path of software Swift&Smart Linux - Software 6 12-04-2004 11:05 PM
boot from software raid0 with debian ulmo Debian 2 07-30-2004 03:06 AM
Software RAID0 + Slack9.1 Aphex Slackware 0 11-02-2003 02:14 AM
Trouble with HD and software raid0 RC_ Linux - Hardware 0 08-07-2003 12:28 AM
software RAID0 errors. repair utility? ziidle Linux - General 0 09-29-2002 10:59 PM


All times are GMT -5. The time now is 09:54 AM.

Main Menu
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