Re: Problem rebuild raid 1 replacement disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 20 Feb 2012 14:41:04 +1030 "RANSOM, Tony"
<tony.ransom@xxxxxxxxxxxxxx> wrote:

> Hi,
> 
> I'm having problems getting a replacement drive to rebuild after a disk failure. 
> 
> I'm running a 10.04 server using two 2TB WD caviar drives in a linux s/w raid 1 configuration.
> 
> The two drives were set up during Ubuntu install.
> 
> They contain three partitions, as follows:

.....


> The array goes into degraded mode. It starts to incorrectly rebuild the array as shown below. It ignores md0, and tries to rebuild the md1 array to sdb, not sdb3.

What is the output of each of
  mdadm -E /dev/sdb
  mdadm -E /dev/sdb3

??

What version of mdadm do you have?

What is the starting sector of /dev/sdb3?  In particular, is it a multiple of
64K?

NeilBrown


> 
> ----------------------------------
> 
> Quote:
> root@server2:~# cat /proc/mdstat
> Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
> md1 : active raid1 sdb[2] sda3[1]
> 1953027008 blocks [2/1] [_U]
> [=>...................] recovery = 9.0% (177317632/1953027008) finish=453.9min speed=65198K/sec
> 
> md0 : active raid1 sda2[1]
> 292800 blocks [2/1] [_U]
> 
> -------------------------------
> 
> When I check the sdb disk partition table, it is corrupted ....
> 
> Quote:
> root@server2:~# gdisk /dev/sdb
> GPT fdisk (gdisk) version 0.8.2
> 
> Caution: invalid main GPT header, but valid backup; regenerating main header
> from backup!
> 
> Caution! After loading partitions, the CRC doesn't check out!
> Warning! Main partition table CRC mismatch! Loaded backup partition table
> instead of main partition table!
> 
> Warning! One or more CRCs don't match. You should repair the disk!
> 
> Partition table scan:
> MBR: not present
> BSD: not present
> APM: not present
> GPT: damaged
> 
> Found invalid MBR and corrupt GPT. What do you want to do? (Using the
> GPT MAY permit recovery of GPT data.)
> 1 - Use current GPT
> 2 - Create blank GPT
> 
> --------------------------------
> 
> I've checked the new disk with WD's diagnostic software. It passes the extended test.
> 
> I'm presently trying for the third time to get this to work. I'm not confident as I'm not really doing anything differently from the first two efforts.
> 
> Note: I've also posted this on the Ubuntu server forum, to date without success. http://ubuntuforums.org/showthread.php?t=1927909 
> 
> Hopefully, the people who are familiar with the workings of the software will know what the problem might be.
> 
> Any assistance is greatly appreciated.
> 
> Thanks,
> Tony
> "Warning:
> The information contained in this email and any attached files is
> confidential to BAE Systems Australia. If you are not the intended
> recipient, any use, disclosure or copying of this email or any
> attachments is expressly prohibited.  If you have received this email
> in error, please notify us immediately. VIRUS: Every care has been
> taken to ensure this email and its attachments are virus free,
> however, any loss or damage incurred in using this email is not the
> sender's responsibility.  It is your responsibility to ensure virus
> checks are completed before installing any data sent in this email to
> your computer."
> 
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux