[CentOS] Advise on recovering 2TB RAID1

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

On 29.1.2012 03:49, Fajar Priyanto wrote:
> On Sun, Jan 29, 2012 at 10:39 AM, Markus Falb <markus.falb-fSWCc0FX9k8 at public.gmane.org> wrote:

>>> 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.
> 
> Thanks Markus,
> But I see this:
> 
> DESCRIPTION
>        sfdisk  has  four (main) uses: list the size of a partition,
> list the partitions on a device, check the partitions on a device, and
> - very dangerous - repartition a
>        device.
> 
>        sfdisk doesn't understand GUID Partition Table (GPT) and it is
> not designed for large partitions. In particular case use more
> advanced GNU parted(8).
> 
> Is it ok?

It depends if your partition table is GPT or legacy MBR.
I think that "large" means "bigger than 2TB"

-- 
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/dbf72cb9/attachment-0005.sig>