Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #171543

Reuniting disks in a raid1 array

From Frédéric Marchal <frederic.marchal@wowtechnology.com>
Newsgroups linux.debian.user
Subject Reuniting disks in a raid1 array
Date 2016-08-30 07:40 +0200
Message-ID <sbJW9-BZ-1@gated-at.bofh.it> (permalink)
Organization Wow Technology

Show all headers | View raw


Hello,

I had two disks in a mdadm software raid1 on an old computer.

I moved sda to a new computer. It ran there in a degraded raid1 for months.

The second disk, sdb, kept running as the lone survivor of the original raid1 
on the old computer.

Now, it's time for the old computer to retire and sdb to join its partner in 
the new raid1 on the new computer.

How can I do this safely?

Do I have to wipe sdb before adding it to the new computer? If so, how do I 
make sure raid data is gone from every one of the three partitions?

Or maybe mdadm will see that sda was used more recently than sdb and will 
synchronize sda onto sdb?

Thanks,

Frederic

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Reuniting disks in a raid1 array Frédéric Marchal <frederic.marchal@wowtechnology.com> - 2016-08-30 07:40 +0200
  Re: Reuniting disks in a raid1 array Lars Noodén <lars.nooden@gmail.com> - 2016-08-30 10:40 +0200
    Re: Reuniting disks in a raid1 array Lars Noodén <lars.nooden@gmail.com> - 2016-08-30 10:50 +0200
    Re: Reuniting disks in a raid1 array Frédéric Marchal <frederic.marchal@wowtechnology.com> - 2016-08-30 11:10 +0200
  Re: Reuniting disks in a raid1 array Mirko Parthey <mirko.parthey@web.de> - 2016-08-30 12:30 +0200
    Re: Reuniting disks in a raid1 array Pascal Hambourg <pascal@plouf.fr.eu.org> - 2016-08-30 20:20 +0200

csiph-web