LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 02-12-2014, 06:53 PM   #1
raindog308
LQ Newbie
 
Registered: Dec 2010
Posts: 20

Rep: Reputation: 0
RAID Refuses to start/assemble...know I have a bad drive, but how to fix?


Was gone for a week and came back to see lots of messages like this in dmesg:

Code:
ata8.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata8.00: irq_stat 0x40000001
ata8.00: failed command: READ DMA
ata8.00: cmd c8/00:08:08:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 51/04:08:08:00:00/00:00:00:00:00/e0 Emask 0x1 (device error)
ata8.00: status: { DRDY ERR }
ata8.00: error: { ABRT }
ata8.00: configured for UDMA/133 (device error ignored)
OK, willing to say I have a bad drive. But:

Code:
md2 : inactive sdf1[0](S) sdi1[3](S) sdh1[2](S)
      5860147464 blocks super 1.2
Code:
# mdadm --fail /dev/md2 /dev/sdg1
mdadm: cannot get array info for /dev/md2
But it's a RAID5 array, so why can't it start? I should be able to remove one of the drives, then replace it and rebuild, right?

Code:
# mdadm --stop /dev/md2
mdadm: stopped /dev/md2
# mdadm --assemble /dev/md2 /dev/sdf1 /dev/sdh1 /dev/sdi1 
mdadm: /dev/md2 assembled from 3 drives - not enough to start the array while not clean - consider --force.
 
Old 02-13-2014, 04:58 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,821

Rep: Reputation: Disabled
As the error message says, you will have to use the "--force" switch to start the degraded array.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Raid 10 Array - Replaced Faulty Drive, Won't Assemble! notaprogrammer Ubuntu 1 10-03-2013 04:33 PM
[SOLVED] Fix bad blocks on faulty hard-drive? deckoff Linux - General 11 05-25-2013 06:36 AM
RAID5 refuses to start after yanking a drive from the SCSI bus ccfalsesysadm Linux - Server 1 03-23-2010 02:49 PM
Linux Raid 1 Mirror bad on SCSI HDD. Howto fix? blkcamarozr28 Linux - Enterprise 1 10-17-2005 07:19 PM


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