Re: [CentOS] Advise on recovering 2TB RAID1

2012-01-29 Thread Fajar Priyanto
On Sun, Jan 29, 2012 at 10:56 AM, Phil Schaffner wrote: >> Is it ok? > > Does the original disk use GPT?  It should not be necessary if it is < > 2.19TB. After some more googling using GPT, I found this: http://askubuntu.com/questions/57908/how-can-i-quickly-copy-a-gpt-partition-scheme-from-one-h

Re: [CentOS] Advise on recovering 2TB RAID1

2012-01-28 Thread Markus Falb
On 29.1.2012 03:49, Fajar Priyanto wrote: > On Sun, Jan 29, 2012 at 10:39 AM, Markus Falb > 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

Re: [CentOS] Advise on recovering 2TB RAID1

2012-01-28 Thread Phil Schaffner
Fajar Priyanto wrote on 01/28/2012 09:49 PM: > ... > 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. Since the device

Re: [CentOS] Advise on recovering 2TB RAID1

2012-01-28 Thread Fajar Priyanto
On Sun, Jan 29, 2012 at 10:39 AM, Markus Falb wrote: >> 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

Re: [CentOS] Advise on recovering 2TB RAID1

2012-01-28 Thread Markus Falb
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

[CentOS] Advise on recovering 2TB RAID1

2012-01-28 Thread Fajar Priyanto
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. 3. Use