Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-12-2014, 06:53 PM   #1
Registered: Dec 2010
Posts: 34

Rep: Reputation: 1
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:

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:

md2 : inactive sdf1[0](S) sdi1[3](S) sdh1[2](S)
      5860147464 blocks super 1.2
# 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?

# 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: 2,485

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


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
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 > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration