How to parition a new drive before adding to RAID array in Linux

By angsuman, Gaea News Network
Monday, December 27, 2010

Run the following command, after reading the notes below:

sfdisk -d /dev/sda | sfdisk /dev/sdb

Notes:
1. This copies the parition information of sda to sdb. Be very careful with the drive letters, otherwise you might end up overriding the partition of a good drive with the partition from a new drive.
2. sda is the drive from which partition information is being copied
3. sdb is the drive to which partition information is copied

Discussion
January 9, 2011: 12:05 pm

very nice sharing .. Thank you contributors.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :