From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-124349-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QXSAR-0006Ri-Ok
	for garchives@archives.gentoo.org; Fri, 17 Jun 2011 06:04:32 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id ACF791C0C6
	for <garchives@archives.gentoo.org>; Fri, 17 Jun 2011 06:04:30 +0000 (UTC)
Received: from mail-vx0-f181.google.com (mail-vx0-f181.google.com [209.85.220.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id BD2441C028
	for <gentoo-user@lists.gentoo.org>; Fri, 17 Jun 2011 05:14:50 +0000 (UTC)
Received: by vxb39 with SMTP id 39so2120793vxb.40
        for <gentoo-user@lists.gentoo.org>; Thu, 16 Jun 2011 22:14:50 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:sender:in-reply-to:references:from
         :date:x-google-sender-auth:message-id:subject:to:content-type
         :content-transfer-encoding;
        bh=YJ6SychVaN5HbWO7ND69PIbp05vI8d7xcpoQDmBNeps=;
        b=Xm4cs0IF9+2KAzXSEhvLw2BOYUeHmz00e8jn+3Pyn3x1WBCEfTGgi2AFK75fRT+U/3
         VGZStGZuq3Ew3WxDakeYh7x4WxJs5D+qkX8cYJ6jhOFfEke/U6DE5dD3q49gtILmkRSi
         ktPJVX6EQLenUmcC7A3mhQf8Sp6KUt4f99x0Q=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:sender:in-reply-to:references:from:date
         :x-google-sender-auth:message-id:subject:to:content-type
         :content-transfer-encoding;
        b=i55cuOJIPOhMtkMn0WpgQ3YNg5L4zfzRmO9B3ZuHlHTh0/JdxJAvykrjaZrrXW+qKx
         PFHqRWpznlgS2ox7eZ0exOJQVac5xHObrj/HeePFvVM1ha7vlnV30DVi///kACKwOfSR
         KL1nM0zoxKgGiXoHEALtHrYvub0Jqi6JG4l80=
Received: by 10.52.186.166 with SMTP id fl6mr1142613vdc.53.1308287690062; Thu,
 16 Jun 2011 22:14:50 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Sender: paul.hartman@gmail.com
Received: by 10.52.157.41 with HTTP; Thu, 16 Jun 2011 22:14:30 -0700 (PDT)
In-Reply-To: <201106162100.18030.mdiehl@diehlnet.com>
References: <201106162100.18030.mdiehl@diehlnet.com>
From: Paul Hartman <paul.hartman+gentoo@gmail.com>
Date: Fri, 17 Jun 2011 00:14:30 -0500
X-Google-Sender-Auth: 7KnUtiG8E6QmRBMDdw5FE8SjMMU
Message-ID: <BANLkTi=Di1m8zfwuYgC7upVfpn72bxn+nA@mail.gmail.com>
Subject: Re: [gentoo-user] Recovering RAID1 after disk failure
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 5065a86e659948cd2557056a059f5fe5

On Thu, Jun 16, 2011 at 10:00 PM, Mike Diehl <mdiehl@diehlnet.com> wrote:
> I've got a sw RAID1 that just had a failed drive replaced with an identic=
al
> drive.
>
> However, the good drive started on sector 63 and the new drive want's to =
start
> on sector 2048. =A0Fdisk won't let me create the partition table on the n=
ew
> drive as it is on the old drive.

Hi Mike,

I believe this is due to the alignment code in newer versions of fdisk
(2048 sector =3D 1 megabyte)

I think you can use the expert menu in fdisk ("x" from the main menu)
to achieve what you're trying to do. I can't tell you the exact steps
but I am 99.9% sure it can be done.