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

Richard Morgan richard at morgan-web.co.uk
Mon May 14 11:31:24 -05 2012


----- Original Message ----- 
From: "Roy Urick" <rurick at usa.net>
To: "'BlueOnyx General Mailing List'" <blueonyx at mail.blueonyx.it>
Sent: Monday, May 14, 2012 4:04 PM
Subject: [BlueOnyx:10567] Re: raid mismatch: How to troubleshoot/fix?


> 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.

It's in /usr/sbin so you can either use

/usr/sbin/smartctl

Or when you go root append -

su -

This changes the path info to include some extra goodies.


>
> -----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
>
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx 




More information about the Blueonyx mailing list