Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 06-07-2010, 06:43 PM   #1
LQ Newbie
Registered: Dec 2006
Distribution: Debian 5.0
Posts: 14

Rep: Reputation: 0
Manual assembly of RAID array works, won't come up on boot.

On a Debian system, I have a RAID 10 array (/dev/md0) consisting of:


mdadm --assemble /dev/md0 /dev/sda /dev/sdb /dev/sdc /dev/sdd
assembles the array and all the data is still intact. The array used to assemble on its own after boot; however, after an update is no longer doing this. I've tried adding
after the UUID to the mdadm.conf; however, I've still not been able to have it assemble on boot. The UUIDs of all the drives appear to be identical.

My mdadm.conf is below.

# mdadm.conf
# Please refer to mdadm.conf(5) for information about this file.

# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts

# definitions of existing MD arrays

# This file was auto-generated on Tue, 29 Dec 2009 18:03:33 -0600
# by mkconf $Id$
ARRAY /dev/md0 level=raid10 num-devices=4 UUID=3cf5b28a:b42c3ef0:715bc1c1:92c95b45
Any ideas?
Old 06-08-2010, 09:30 PM   #2
Registered: May 2009
Distribution: Debian wheezy
Posts: 252

Rep: Reputation: 31
One (temporary) solution would be to drop the mdadm.conf and write a script that assembles the array manually. Then call the script somewhere in the startup. Not the best solution, but if you need something, that should at work.


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 array broken on boot dannewestis Linux - Software 5 01-21-2010 02:45 PM
Assembly problems with Raid 5 Array TexasMike Linux - Hardware 3 07-24-2009 11:09 AM
manual insmod of usbcore, uhci and usb-storage works. Why not on boot? LinuxTexan Linux - Newbie 8 12-10-2008 11:05 AM
Raid5 array works but won't start on boot hazmatt20 Linux - Server 3 12-14-2007 01:28 AM
Dual Boot w/ RAID array pacmanhat Linux - Newbie 1 06-10-2005 12:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:55 AM.

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
Open Source Consulting | Domain Registration