[CentOS] Advise on recovering 2TB RAID1

Sun Jan 29 02:39:30 UTC 2012
Markus Falb <markus.falb at fasel.at>

On 29.1.2012 03:25, Fajar Priyanto wrote:
> Hi all,
> I have one drive fails on a software 2TB RAID1.
> I have removed the failed partition from mdraid and now ready to
> replace the failed drive.
> 
> I want to ask for opinion if there is better way to do that other than:
> 1. Put the new HDD.
> 2. Use parted to recreate the same partition scheme.

Maybe sfdisk like
sfdisk -d /dev/gooddisk | sfdisk /dev/newdisk

> 3. Use mdadm to rebuild the RAID.

-- 
Kind Regards, Markus Falb

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20120129/e10339ab/attachment-0005.sig>