Visit Jeremy's Blog.
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 01-19-2012, 10:48 PM   #1
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Rep: Reputation: 29
mdadm assemble on boot issue

Hey guys,

I have a working Raid 5 array that was on EL6, I removed EL6 to put FC15 on to get better support with Handbrake. After the install of FC16 Linux seems to be having issues with auto assemble on boot...

if I do:
mdadm --stop /dev/mdX
mdadm --assemble /dev/mdX /dev/sd[bcde]1

It will assemble the device perfectly and I can then mount it...

If I let the boot auto assemble, I will get a device /dev/md0 but 2 drives are missing from it.... I have edited /etc/mdadm.conf with

mdadm --assemble --scan >> /etc/mdadm.conf
shows the proper UUID and drive information looks correct...

I have also even went the path of recreate the array..

Same issue...

Like I said if I stop the one that loads from boot, and then assemble it myself it will work flawlessly... I am just at a loss on what next to do.

Any suggestions?
Old 01-20-2012, 10:35 AM   #2
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Rep: Reputation: 54
i'm just spit-balling here, but after you remake your /etc/mdadm.conf do you then need to remake your initrd - mkinitrd?
I'm not sure, but does it import /etc/mdadm.conf into your init image?
Old 01-20-2012, 01:10 PM   #3
Registered: Oct 2010
Location: Cleveland
Distribution: Slackware, Fedora, RHEL (4,5), LFS 6.7, CentOS
Posts: 258

Original Poster
Rep: Reputation: 29
You know, I did look in the init image and it did not have the current settings in there... in fact it had nothing... When I get sometime today I will look into remaking init.
Old 06-06-2013, 08:23 AM   #4
Registered: Feb 2004
Location: Philadelphia, PA
Distribution: FC3 i386 & PPC
Posts: 36

Rep: Reputation: 15
A little late, but at the time this was written, I believe there was a bug in mdadm. I ended up corrupting a 7TB array trying to get it to work in Fedora 15 in December of 2011 before I realized I had missed a line in the logs that appeared to point to a known bug. This appeared to be in the mdadm version on the disk and in the repository at that time.

TL;DR stick with a server distro for handling server like functions, run desktop linux in a VM.


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
[SOLVED] mdadm RAID 5 assemble sag47 Linux - Software 1 12-17-2011 06:13 PM
Cant assemble RAID5 with mdadm zac_haryy Linux - Server 3 06-16-2011 02:08 PM
MDADM - unable to assemble array Onthax Linux - Software 1 05-21-2011 12:09 PM
mdadm wont assemble MrMakealotofsmoke Linux - Newbie 2 04-04-2010 11:33 AM > Forums > Linux Forums > Linux - Server

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