Roger Price wrote:
Hi, I have two near identical boxes, each with RAID1 arrays:
Box 1 md0 = Partitions /dev/sda1+/dev/sdb1 Disk sdb is dead
Box 2 md0 = Partitions /dev/sda1+/dev/sdb1 Disk sda is dead
I would like to repair Box 2 using the good disk sda taken from Box 1. After reading https://www.howtoforge.com/replacing_hard_disks_in_a_raid1_array My plan is to
1. On Box 2, mdadm --manage /dev/md0 --fail /dev/sda1 2. Place good drive taken from Box 1 in Box 2 as the "new" sda 3. On Box 2, mdadm --manage /dev/md0 --add /dev/sda1
However the "new" partition /dev/sda1 is already a healthy RAID1 partition. Will it be automatically wiped clean of all previous Box 1 data before the Box 2 synchronisation takes place? I cannot find any documentation which says this. I don't want to end up with Box 1 data plus Box 2 data.
Yes, a newly added disk will be presumed to be empty. If valid signatures or super blocks are found, you may need to confirm at some point. -- Per Jessen, Zürich (9.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org