LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Software RAID0 mess up, help! (https://www.linuxquestions.org/questions/linux-general-1/software-raid0-mess-up-help-39939/)

Devoras 12-31-2002 07:07 PM

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 :tisk: 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 :eek:

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.... :cry: arghhhhh! Either way I'm seriously considering lvm, even before this occurred. Any help would be appreciated.

Devoras 01-01-2003 11:20 PM

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!


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