Change raid1-mdadm disks Debian
Hi,
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
devices=/dev/sda5,/dev/sdb5
ARRAY /dev/md6 level=raid1 num-devices=2 UUID=81eb9477:ecf1c6ab:5bb09c04:ea0f06f7
devices=/dev/sda6,/dev/sdb6
ARRAY /dev/md7 level=raid1 num-devices=2 UUID=57839da6:602719b1:723140b0:5f17971c
devices=/dev/sda7,/dev/sdb7
ARRAY /dev/md8 level=raid1 num-devices=2 UUID=921fb1b2:20f5222c:3290d975:d6238693
devices=/dev/sda8,/dev/sdb8
ARRAY /dev/md9 level=raid1 num-devices=2 UUID=cdef488b:fc5a2b11:e31bca6a:0a398126
devices=/dev/sda9,/dev/sdb9
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=844d3caa:a8ce6bb0:94372e02:8140c47c
devices=/dev/sdb1
Last edited by Suhy; 06-30-2006 at 07:57 PM.
|