Gentoo Archives: gentoo-user

From: Andrea Conti <alyf@××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Recovering RAID1 after disk failure
Date: Fri, 17 Jun 2011 07:06:40
In Reply to: [gentoo-user] Recovering RAID1 after disk failure by Mike Diehl
1 Hello,
3 > However, the good drive started on sector 63 and the new drive want's to start
4 > on sector 2048. Fdisk won't let me create the partition table on the new
5 > drive as it is on the old drive.
7 Recent versions of fdisk require partitions to begin on a 1MB boundary;
8 this among other things guarantees that there are no alignment issues
9 with 4k-sector drives.
11 If you really need to use fdisk for this task you can start it in
12 compatibility mode (i.e. "fdisk -c=dos").
14 The recommended way of preparing the new drive, though, is to simply use
15 sfdisk to copy the partition table from the existing one:
17 sfdisk -d <old drive> | sfdisk -L <new drive>
19 andrea


Subject Author
Re: [gentoo-user] Recovering RAID1 after disk failure Mike Diehl <mdiehl@××××××××.com>