[BlueOnyx:10567] Re: raid mismatch: How to troubleshoot/fix?

Roy Urick rurick at usa.net
Mon May 14 10:04:54 -05 2012


So everything appears normal, correct? (two 1TB SATA drives)

Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
      256896 blocks [2/2] [UU]

md1 : active raid1 sdb2[1] sda2[0]
      1464878912 blocks [2/2] [UU]

unused devices: <none>

Do these things self-correct and rebuild on their own when they just get out
of sync? 

Also smartctl -i -d ata /dev/sdx | grep Serial  returns a "command not
found" error on my box. 

-----Original Message-----
From: blueonyx-bounces at mail.blueonyx.it
[mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of Gerald Waugh
Sent: Monday, May 14, 2012 9:53 AM
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:10565] Re: raid mismatch: How to troubleshoot/fix?

On 05/13/2012 11:33 PM, Dudi Goldenberg wrote:
> Hi,
> 
> 
>> I'm guessing the second of the two mirrored drives has failed. Whats
> the next logical step? How do I tell if its truly defective or has just
> fallen out of sync due to a random glitch? Heck, how can I guarantee
> which drive is which in order to swap for a fresh one?
> 
> Login as root, then 'cat /proc/mdstat'
> 
>  
> 
> That will show you both the true status of the array, plus - if there is
> a failed drive, it will be easy to tell it from the other(s).
> 

to determine the physical drive that failed execute
  smartctl -i -d ata /dev/sdx | grep Serial
for stata drives x is the drive letter 'a' 'b' 'c' and so forth

  smartctl -i /dev/hdx | grep Serial
for ide drives.

When you are ready to replace the drive check the serial numbers to
determine the correct drive to replace

-- 
Gerald
_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx




More information about the Blueonyx mailing list