LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-21-2011, 11:31 AM   #1
Onthax
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Rep: Reputation: 0
MDADM - unable to assemble array


Hi guys

trying to troubleshoot an issue i'm having with MDADM

I have a raid 5 array consisting of 5 2tb Western Digital Green drives.

It has been working fine for the last 6-7 months but recently has stopped working.

After rebooting i get an error something like "unable to mount /mnt/storage" which is the filesystem on the raid array

the raid array is /dev/md0
when i do a " sudo mdadm --assemble --scan"
i get the error mdadm: /dev/md0 assembled from 3 drives - not enough to start the array

all the drives are there and i can see the correct partition information if i load them up in parted.

Not sure what's going on here, anyone have any insight?

when i do
sudo mdadm --examine /dev/sdb1

Number Major Minor RaidDevice State
this 0 8 17 0 active sync /dev/sdb1

0 0 8 17 0 active sync /dev/sdb1
1 1 0 0 1 faulty removed
2 2 8 49 2 active sync /dev/sdd1
3 3 8 65 3 active sync /dev/sde1
4 4 0 0 4 faulty removed


however the drives are still there and i know they are clean

and if i do
sudo mdadm --examine /dev/sdc1 i get this

Number Major Minor RaidDevice State
this 1 8 33 1 active sync /dev/sdc1

0 0 8 17 0 active sync /dev/sdb1
1 1 8 33 1 active sync /dev/sdc1
2 2 8 49 2 active sync /dev/sdd1
3 3 8 65 3 active sync /dev/sde1
4 4 8 81 4 active sync /dev/sdf1

i didnt get an emails or notification on if the drives failed, so i'm running a smart check on them now
 
Old 05-21-2011, 12:09 PM   #2
Onthax
LQ Newbie
 
Registered: Jan 2008
Posts: 4

Original Poster
Rep: Reputation: 0
update, all drives passed long self test

on closer examination if i do

sudo mdadm --examine /dev/sdb1 i get
Update Time : Fri May 13 01:17:40 2011
State : clean
Active Devices : 3
Working Devices : 3
Failed Devices : 2
Spare Devices : 0
Checksum : b13a6983 - correct
Events : 127468

if i do sudo mdadm --examin /dev/sdc1 i get
Update Time : Sun May 1 15:01:10 2011
State : clean
Active Devices : 5
Working Devices : 5
Failed Devices : 0
Spare Devices : 0
Checksum : b1298bbb - correct
Events : 68492

and sudo mdadm --examine /dev/sdf1 i get

Update Time : Wed May 11 23:18:02 2011
State : active
Active Devices : 4
Working Devices : 4
Failed Devices : 1
Spare Devices : 0
Checksum : b1370a3e - correct
Events : 127461

looks like it got out of sync at some point, any ideas on how i should go about reattaching these?

Last edited by Onthax; 05-21-2011 at 12:12 PM.
 
  


Reply



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
mdadm wont assemble MrMakealotofsmoke Linux - Newbie 2 04-04-2010 11:33 AM
mdadm array doesn't assemble seaking1 Linux - Software 8 03-06-2009 09:34 AM
mdadm: fails to assemble array. All 8 devices report being "slot 0" mesosphere Linux - General 1 06-11-2008 10:42 AM
mdadm assemble weirdness with partitionable RAID0 Schneckl Linux - Software 0 08-28-2007 05:45 PM
mdadm fails to assemble my RAID device tomhildebrand Fedora 6 06-28-2007 12:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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