From: Mike Diehl <mdiehl@diehlnet.com>
To: gentoo-user@lists.gentoo.org
Cc: Andrea Conti <alyf@alyf.net>
Subject: Re: [gentoo-user] Recovering RAID1 after disk failure
Date: Fri, 17 Jun 2011 00:34:46 -0600 [thread overview]
Message-ID: <201106170034.46927.mdiehl@diehlnet.com> (raw)
In-Reply-To: <4DFAF3C3.4060505@alyf.net>
I've got my drive partitioned, but I WILL read up on sfdisk. Thanks for the
pointer.
On Friday 17 June 2011 12:27:15 am Andrea Conti wrote:
> Hello,
>
> > However, the good drive started on sector 63 and the new drive want's to
> > start on sector 2048. Fdisk won't let me create the partition table on
> > the new drive as it is on the old drive.
>
> Recent versions of fdisk require partitions to begin on a 1MB boundary;
> this among other things guarantees that there are no alignment issues
> with 4k-sector drives.
>
> If you really need to use fdisk for this task you can start it in
> compatibility mode (i.e. "fdisk -c=dos").
>
> The recommended way of preparing the new drive, though, is to simply use
> sfdisk to copy the partition table from the existing one:
>
> sfdisk -d <old drive> | sfdisk -L <new drive>
>
> andrea
--
Take care and have fun,
Mike Diehl.
prev parent reply other threads:[~2011-06-17 7:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-17 3:00 [gentoo-user] Recovering RAID1 after disk failure Mike Diehl
2011-06-17 5:14 ` Paul Hartman
2011-06-17 6:17 ` Mike Diehl
2011-06-17 6:27 ` Andrea Conti
2011-06-17 6:34 ` Mike Diehl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201106170034.46927.mdiehl@diehlnet.com \
--to=mdiehl@diehlnet.com \
--cc=alyf@alyf.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox