[CentOS] Re: Rebuilding Raid 1

Wed May 3 17:53:18 UTC 2006
Les Mikesell <lesmikesell at gmail.com>

On Wed, 2006-05-03 at 12:53, Mace Eliason wrote:

> #sfdisk /dev/sda < /raidinfo/partitions.sda                 (make sure 
> you get the drives right)
> This partitions the new drive with the exact same partition table that 
> was there before and makes all the rebuild and raid partitions all in 
> the exact same place so that you don't have to edit any raid 
> configuration files at all. "
> I found this info here:
> http://lists.us.dell.com/pipermail/linux-poweredge/2003-July/008898.html
> That really made creating things easier.

You are really making the partition setup sound harder than it
is.  It is not difficult to look at an existing disk with
'fdisk -l' and create 3 matching partitions on another disk
with the interactive mode of fdisk.  All you have to do is
specify the start and end cylinders for each partition and
set the type to FD.  Not that there is anything wrong with
using sfdisk but sometimes it is nice to see what you are

  Les Mikesell
   lesmikesell at gmail.com