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
 
Search this Thread
Old 01-19-2012, 11:48 PM   #1
zer0signal
Member
 
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, 11:35 AM   #2
zQUEz
Member
 
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Rep: Reputation: 53
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, 02:10 PM   #3
zer0signal
Member
 
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, 09:23 AM   #4
Salpula
Member
 
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.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] mdadm RAID 5 assemble sag47 Linux - Software 1 12-17-2011 07:13 PM
Cant assemble RAID5 with mdadm zac_haryy Linux - Server 3 06-16-2011 03:08 PM
MDADM - unable to assemble array Onthax Linux - Software 1 05-21-2011 01:09 PM
mdadm wont assemble MrMakealotofsmoke Linux - Newbie 2 04-04-2010 12:33 PM


All times are GMT -5. The time now is 01:49 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration