LinuxQuestions.org
Help answer threads with 0 replies.
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 06-07-2010, 07:43 PM   #1
Bviper
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:

/dev/sda
/dev/sdb
/dev/sdc
/dev/sdd

Doing
Code:
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
Code:
devices=/dev/sda,/dev/sdb,/dev/sdc,/dev/sdd
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.

Code:
# 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
MAILADDR **EDITED**

# 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, 10:30 PM   #2
hda7
Member
 
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.
 
  


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

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

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