Fedora Linux Support Community & Resources Center
Old 23rd October 2006, 02:29 PM
verbatim Offline
Registered User
Join Date: Jul 2004
Posts: 23
Need help recovering software RAID array

Well, I had a disk fail in my raid5 mdraid setup, and am having trouble recovering it.
It's a 4 disk setup, with no spares.

I was able at one point to start it with 3 disks and see that the data was fine, but I am now trying to restart it with 4 disks and cannot get it to work.

Running "mdadm --assemble /dev/md0 /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2" shows "mdadm: failed to RUN_ARRAY /dev/md0: Input/output error", and logs messages to dmesg showing sda2, sdb2, sdc2 as operational in the array, but sdd2 is not. It then says "cannot start dirty degraded array for md0".

Looking at /proc/mdstat shows that sdd2 is in as a spare - which it shouldn't be... it should just be a regular disk.

Running "mdadm -E /dev/sdd2" also shows it as a spare, and the array with a faulty removed disk.

I'm quite worried at this point, but I think I'm still safe... I just can't figure out how to put this thing back together. Does anyone have any ideas? I can provide more details as needed.

Reply With Quote
Old 14th November 2006, 07:24 PM
Algernon Offline
Registered User
Join Date: Jun 2004
Posts: 56
If you are still having this problem...

Start the array in degraded state (meaning missing one) with --fail, so you need to mark one of the drives as failed. This should be the drive that does not contain the data but is going to be added to array.

When up and running add the spare (or new) drive to array.

Reply With Quote

array, raid, recovering, software

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help creating a software raid array. Thaidog Using Fedora 8 10th March 2009 05:09 AM
Software RAID 1 Array Fedora10 andy2008 Using Fedora 4 21st February 2009 07:00 PM
Recovering from software RAID failure (controller died) merilius Servers & Networking 1 4th January 2009 10:25 AM
Trouble Getting Software RAID Array Assembled After Installing Fedora 7 ImNtReal Installation, Upgrades and Live Media 0 7th June 2007 03:45 PM
Spin down disks in software raid array and otherwise? shadowwyvern Hardware & Laptops 1 21st September 2006 03:30 PM

Current GMT-time: 07:36 (Thursday, 17-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat