LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Linux raid / md127 (http://www.linuxquestions.org/questions/linux-server-73/linux-raid-md127-765103/)

pika 10-28-2009 01:59 PM

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

mengoshmink 10-30-2013 04:01 PM

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

robertjinx 11-03-2013 12:33 PM

Just run:

Code:

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



All times are GMT -5. The time now is 10:35 PM.