Gentoo Archives: gentoo-user

From: Kerin Millar <kerframil@×××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] duplicate HD drives
Date: Sat, 13 Sep 2014 18:01:14
Message-Id: 54148661.50401@fastmail.co.uk
In Reply to: Re: [gentoo-user] duplicate HD drives by Alan McKinnon
1 On 13/09/2014 17:45, Alan McKinnon wrote:
2
3 <snip>
4
5 >> If I do:
6 >> fdisk /dev/sda
7 >> t 1 fd
8 >>
9 >> Won't it destroy data on /dev/sda?
10 >
11 >
12 > No.
13
14 Although mdadm will. A simple solution is to create the array with only
15 the second disk as the initial member and designate the other device as
16 literally "missing". The array will function in degraded mode. Then it
17 is simply a matter of copying over the data from the original filesystem
18 on the first disk, after which it may be (destructively) added to the array.
19
20 --Kerin