LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-04-2013, 03:56 PM   #1
Scrapper64
LQ Newbie
 
Registered: Jul 2012
Location: Metro-Atlanta
Distribution: CentOS & Fedora
Posts: 24

Rep: Reputation: Disabled
How Can I Recover My Software RAID-1 Array?


I've got a custom machine with a ASRock AMD motherboard because I needed both PS/2 connections for my KVM switch.

I combined the disk drives from 2 machines to this one box so what I have is a total of 6 hard drives:

4 - 1 TB SATA drives
2 - 1.5 TB SATA drives.

Because I did a complete installation, I implemented the RAID-1 and LVM during the installation. Initially the drives were configured as:

/dev/sda | /dev/sdc - 2 - 1 TB drives with a total of 7 RAID-1
partitions:
/dev/md0 = Standard partition for /boot
/dev/md1 - /dev/md6 = LVM partitions for the
remainder of the OS plus other stuff.

/dev/sdb | /dev/sdd - 2 - 1 TB drives with a total of 2 RAID-1 partitions, both of which are LVM. /dev/md7 and /dev/md8

/dev/hda | /dev/hdb - 2 - 1.5 TB drives with a total of 2 RAID-1 partitions, both of which are LVM. /dev/md9 and /dev/md10



At some point while upgrading from CentOS 5.1 x86_64 to CentOS 5.9 (with stops at 5.4 and 5.6) the drive designations changed and what was /dev/sdc became /dev/sdb and what was /dev/sdb became /dev/sdc. I did not pay much attention to these changes because everything was running fine.

Then drive /dev/sdb failed and /dev/sdc moved down to /dev/sdb and what was /dev/sdd became /dev/sdc.


My questions are:

1. How can I dentify the failed drive (I've got nmon, webmin installed)?
2. After installing the new drive, how can I recreate a duplicate
partition structure of /dev/sda?
3. Where can I find some documentation on #1 and #2?
4. One of the 1.5 TB drives is showing 213 errors, is there a number
after which the drive is bad?

TIA,
Gene
 
Old 12-04-2013, 07:13 PM   #2
jefro
Guru
 
Registered: Mar 2008
Posts: 11,013

Rep: Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356Reputation: 1356
#1 maybe from device name brand or just pull power to one at a time until it complains more. Could boot to a live cd or such for easier testing. Some ideas here. http://unix.stackexchange.com/questi...-in-the-system
 
1 members found this post helpful.
Old 12-05-2013, 03:05 PM   #3
Scrapper64
LQ Newbie
 
Registered: Jul 2012
Location: Metro-Atlanta
Distribution: CentOS & Fedora
Posts: 24

Original Poster
Rep: Reputation: Disabled
I'll check this site out this weekend and hopefully I can get the information I need. Also, I found some information on 'How To Forge'.
TIA
Gene
 
Old 12-09-2013, 09:58 AM   #4
Scrapper64
LQ Newbie
 
Registered: Jul 2012
Location: Metro-Atlanta
Distribution: CentOS & Fedora
Posts: 24

Original Poster
Rep: Reputation: Disabled
OK, Everything is just great! I've got the drive back (and it did come back as /dev/sdb). No I'll have to get a 1.5 TB drive to replace the one going bad.

Thanks for that site I got all the information I needed!

TIA,
Gene
 
  


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
Recover raid 5 array + LVM2 circle69 Linux - Server 3 02-19-2010 04:00 PM
How to recover/mount RAID 0 array, dmraid? Robutux Linux - Hardware 3 07-20-2009 01:47 PM
Trying to recover/mount RAID array sxa Linux - General 5 06-10-2009 09:32 AM
Adding an old software-RAID array to a software-RAID installation.. Boot problems GarethM Linux - Hardware 2 05-05-2008 03:16 PM
Software RAID to recover data from HW RAID ocschwar Linux - Hardware 5 02-25-2005 10:05 PM


All times are GMT -5. The time now is 04:11 PM.

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