Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-28-2009, 01:59 PM   #1
LQ Newbie
Registered: May 2002
Location: Belgium
Distribution: Fedora 11
Posts: 10

Rep: Reputation: 0
Linux raid / md127


Last week I added a fourth disk to my RAID 5 setup using the guide on

Unfortunately, I forgot to update my /etc/mdadm.conf and rebooted like that.

Now, the raid set is identified as /dev/md127.

[root@mastodon ~]# mdadm --detail --scan --verbose
ARRAY /dev/md127 level=raid5 num-devices=4 metadata=0.90 UUID=d28897fc:8da6f8ef:bc01692b:1adecf8d
What should I do to make it appear as /dev/md0 again ? Can I simply modify /etc/mdadm.conf so it reads ARRAY /dev/md0.... or do I have to issue mdadm commands ?

System info:
[root@mastodon ~]# uname -a
Linux mastodon #1 SMP Thu Aug 27 21:34:36 EDT 2009 i686 i686 i386 GNU/Linux
[root@mastodon ~]# mdadm --version
mdadm - v3.0-devel3 - 10th March 2009
I also should add that this is just a naming issue, I can mount /dev/md127 fine and I can reach my data.

Thanks in advance,

Last edited by pika; 10-28-2009 at 04:36 PM.
Old 10-30-2013, 04:01 PM   #2
Registered: Nov 2003
Distribution: Fedora
Posts: 42

Rep: Reputation: 3
This is a similar problem to one I just experienced, I solved it by reading here:

And for more information this:

Specifically I ran:
mdadm --detail --scan >> /etc/mdadm.conf

Last edited by mengoshmink; 11-01-2013 at 04:24 PM.
Old 11-03-2013, 12:33 PM   #3
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 704

Rep: Reputation: 72
Just run:

echo 'DEVICES /dev/sd* /dev/hd*' > /etc/mdadm.conf
mdadm -Es >> /etc/mdadm.conf


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
CentOS 4.3 LInux Raid 1 Losing OS Raid member Sigkill(9) Linux - Hardware 1 09-13-2008 11:01 PM
LXer: Tutorial: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 08-14-2008 11:20 PM
LXer: Benchmarking hardware RAID vs. Linux kernel software RAID LXer Syndicated Linux News 0 07-15-2008 03:50 PM
LXer: Linux RAID Smackdown: Crush RAID 5 with RAID 10 LXer Syndicated Linux News 0 02-26-2008 09:40 PM
does linux support the sata raid and ide raid in k7n2 delta ilsr? spyghost Linux - Hardware 10 04-16-2004 05:27 AM

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