LinuxQuestions.org
Register a domain and help support LQ
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 10-28-2009, 01:59 PM   #1
pika
LQ Newbie
 
Registered: May 2002
Location: Belgium
Distribution: Fedora 11
Posts: 10

Rep: Reputation: 0
Linux raid / md127


Hello,

Last week I added a fourth disk to my RAID 5 setup using the guide on http://scotgate.org/2006/07/03/growi...5-array-mdadm/

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

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

Code:
[root@mastodon ~]# mdadm --detail --scan --verbose
ARRAY /dev/md127 level=raid5 num-devices=4 metadata=0.90 UUID=d28897fc:8da6f8ef:bc01692b:1adecf8d
   devices=/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1
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:
Code:
[root@mastodon ~]# uname -a
Linux mastodon 2.6.30.5-43.fc11.i686.PAE #1 SMP Thu Aug 27 21:34:36 EDT 2009 i686 i686 i386 GNU/Linux
Code:
[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,
Pika

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

Rep: Reputation: 1
This is a similar problem to one I just experienced, I solved it by reading here:
http://ubuntuforums.org/showthread.p...1#post10907831

And for more information this:
http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/

Specifically I ran:
Code:
mdadm --detail --scan >> /etc/mdadm.conf
http://askubuntu.com/questions/20970...-being-ignored

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

Rep: Reputation: 58
Just run:

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


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
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 12:29 AM.

Main Menu
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