LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 03-21-2010, 11:49 PM   #1
garydale
Member
 
Registered: Feb 2007
Posts: 122

Rep: Reputation: 22
recreating a software RAID 5 array


I'm running Debian/Squeeze on a machine that is more like a server than a desktop. Everything is onboard except for the 5 x 500G SATA drives and the DVD rewriter. Phenom II 940 with 4G ram.

I'm not sure what happened. Sometime between Friday evening and Saturday morning my machine locked up. When I reset it, two of the three RAID arrays on it didn't come up. /dev/md0 is /boot and it is RAID 1. It started OK but could only get me into busybox.

/dev/md1 reported 4 out of 5 drives OK so when I started it and added the missing drive back in, it started rebuilding. Three hours later, at 100% rebuilt, it suddenly spewed out a pile of error messages. After that it only showed 3 out 5 drives as OK.

/dev/md2 only shows 3 out 5 drives OK.

I've been working from an Ubuntu Karmic live CD for the rest of this:

According to smartctl, all the drives are OK. I'd guess that the problem relate to the the superblock and that the data is most likely OK if the superblocks can be repaired.

I've been working with /dev/md2 since it is the (replaceable) system drive (/). I figured if I could reassemble the array with 4 out the 5 drives, I should be able to mount it. Unfortunately, that doesn't seem to be the case. No combination/order of component devices seems to give me back a mountable partition.

Since it's dispensable, I've also tried recreating the /dev/md2 array with the same results. I wrote a script to cycle through the combinations of drives to build an array with and without a missing drive and I still can't it to mount.

Any ideas?
 
Old 03-23-2010, 02:54 PM   #2
garydale
Member
 
Registered: Feb 2007
Posts: 122

Original Poster
Rep: Reputation: 22
The issue turned out to be silly. I was trying to mount the array as ext2 when it was ext3. I'd thought that if you mounted an ext3 file system as ext2, it would simply turn off the journalling, but that isn't true (at least not now).

Once I set the file system type to ext3, my script to cycle through the drive combinations eventually came up with one that would mount.
 
Old 03-25-2010, 05:04 AM   #3
rruivo
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
Resctricted subscribe in majordomo

Dear all,
It's possible to configure majordomo to respond only to subscribe
requests from a particular domain or domains?

Best regards
Ricardo Ruivo
 
Old 03-25-2010, 05:07 AM   #4
rruivo
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
Sorry, wrong session.

Quote:
Originally Posted by rruivo View Post
Dear all,
It's possible to configure majordomo to respond only to subscribe
requests from a particular domain or domains?

Best regards
Ricardo Ruivo
 
  


Reply

Tags
raid5, rebuild


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
Degraded Array on Software Raid pcinfo-az Linux - Hardware 8 07-03-2008 10:43 AM
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
Moving Software RAID 5 array to new OS FrOgGeR619 Linux - Newbie 1 09-26-2007 01:55 PM
building a software raid 5 array Bogus8 Debian 2 05-29-2007 10:20 PM
Transferring a software RAID array Dee-ehn Linux - Software 0 04-15-2004 04:46 AM


All times are GMT -5. The time now is 11:11 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