Welcome to the most active Linux Forum on the web.
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-30-2006, 06:25 PM   #1
LQ Newbie
Registered: Aug 2005
Distribution: CentOS, Fedora
Posts: 25

Rep: Reputation: 15
Change raid1-mdadm disks Debian


i have server on which runs Debian and software raid, called mdadm. Have 2 disks in mirror. I have to change both disks with new ones.

I already tried with cloning, but doesn't work(when raid is starting up, there are errors)

What way can i change both disks?

my mdadm.conf file looks like this:
btw: why is only one device in last line?

DEVICE /dev/sda* /dev/sdb*
ARRAY /dev/md5 level=raid1 num-devices=2 UUID=971f1d46:5ffc0571:7e74616d:54e8b0de
ARRAY /dev/md6 level=raid1 num-devices=2 UUID=81eb9477:ecf1c6ab:5bb09c04:ea0f06f7
ARRAY /dev/md7 level=raid1 num-devices=2 UUID=57839da6:602719b1:723140b0:5f17971c
ARRAY /dev/md8 level=raid1 num-devices=2 UUID=921fb1b2:20f5222c:3290d975:d6238693
ARRAY /dev/md9 level=raid1 num-devices=2 UUID=cdef488b:fc5a2b11:e31bca6a:0a398126
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=844d3caa:a8ce6bb0:94372e02:8140c47c

Last edited by Suhy; 06-30-2006 at 07:57 PM.
Old 07-03-2006, 03:48 PM   #2
LQ Newbie
Registered: Aug 2005
Distribution: CentOS, Fedora
Posts: 25

Original Poster
Rep: Reputation: 15
I solved this alone, thnx.

/ wasnt in raid at all and there were no grub correction for booting 1. or 2. disk in case of failure of one.

after that i just read mdadm and everything went smooth


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
raid1 using mdadm? help plz akadidm Linux - Hardware 3 06-09-2005 04:58 AM
Software RAID1 on Debian Sarge ElmPie Linux - Software 1 05-20-2005 01:07 AM
boot failed: please change disks and press a key to continue bonovox86uk Red Hat 2 12-08-2004 04:16 PM
Can I change disks in Knoppix? Todd42 Linux - Distributions 1 02-08-2004 01:03 PM
Boot failed: please change disks and press a key to continue. ChriSchmi Linux - Software 9 03-13-2002 01:34 PM

All times are GMT -5. The time now is 12:31 PM.

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