On Jun 9, 2010, at 5:36 PM, Robert Heller wrote:
At Wed, 9 Jun 2010 16:50:53 -0700 CentOS mailing list <centos@centos.org
wrote:
Hi,
I've used mdadm for years now to manage software raids.
The task of using fdisk to first create partitions on a spare drive sitting on a shelf (raid 0 were my 1st of 2 drives failed) is kind of bugging me now.
After using fdisk to create the same partition layout on the new drive as is on the existing drive and then using mdadm to finish every thing up is a little tedious.
Any one have an idea how to have a sort of hot plug were I just swap out the drive and it rebuilds?
sfdisk is your friend
Indeed, thanks, sfdisk will remain a life long friend.