LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-18-2006, 10:37 PM   #1
Ezplan
Member
 
Registered: Dec 2003
Location: MA
Distribution: CentOS 6.8 & 7, Linux Mint
Posts: 66
Blog Entries: 1

Rep: Reputation: 15
Disk in scsi raid1 fails-how torecover?


Hello all,
My worst fears have been realized!
I've got a file server running RH9 on a Tyan/AMD MB with on-board scsi controller. The OS is on a 30Gb IDE drive and data is stored on two 37Gb scsi hd's in a raid1 array. Today we had some violent weather pass thru and power was going on/off continually for about an hour. Even though the server was on a UPS it finally just crashed, went off-line and just sat there with the hd light on, nothing on the monitor, keyboard did not responed. Pulled the plug, then restarted. Boot up proceeded OK except I saw the message during boot "md0 startup......sda1 failed, disabling device. No extra drive found to reconstruct, continuing with sdb1". Boot completed and all services came back and when I ls /data it's all there. I did a "cat /proc/mdstat" and it only showed sdb1.

I have two new 37Gb scsi hd's still in boxes. What's the best way to put this thing back together? I see lots of info on setting up raid, but how to recover when one drive fails and the other is still running?

Thanks for your attention!
 
Old 01-18-2006, 11:35 PM   #2
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Uh Oh.

Step 1) Make a backup of the offending broken array.
Step 2) Find out if the offending dead disk is still available. try 'fdisk -l' as root to list all the patitions seen at boot.
Step 3) Post your results back here.
 
Old 01-19-2006, 08:08 AM   #3
Ezplan
Member
 
Registered: Dec 2003
Location: MA
Distribution: CentOS 6.8 & 7, Linux Mint
Posts: 66

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Thanks for the quick reply!

Here is the fdisk -l output:

Disk /dev/sda: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 4462 35840983+ fd Linux raid autodetect

Disk /dev/sdb: 36.7 GB, 36703934464 bytes
255 heads, 63 sectors/track, 4462 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 4462 35840983+ fd Linux raid autodetect

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 4734 38025823+ 83 Linux
/dev/hda2 4735 4865 1052257+ 82 Linux swap

Does this suggest that sda is still viable?
 
  


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
add a new disk to raid1 array retrev Linux - General 1 04-08-2007 01:57 AM
How to boot from the 3rd disk while RAID1? Chowroc Linux - Software 1 11-07-2005 07:56 AM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Software 1 07-01-2003 05:08 PM
use ide-scsi to emulate an ide disk as a scsi disk free_ok_man Linux - Newbie 1 07-01-2003 03:51 AM
Setting up a RAID1 config (Disk Mirroring) ajpalm Linux - Newbie 1 11-18-2002 03:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:26 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
Open Source Consulting | Domain Registration