harddisk error within raid1 => howto restore?
I have a server running with the following components/setup:
- mobo: Asus A8N-SLI
- 2 harddrives: 300 GB Samsung 300 GB
- kernel: 2.6.8-12-amd64-k8
- raid1: sda and sdb
- 3 partitions on each disk: "/", "/home", "swap"
I got the following errors on the console:
> ata2: command 0x35 timeout, stat 0xd0 host_stat 0x1
> scsi1: Error on Channel0, id0, lan0, CDB: Write (10)
> Current sdb: sense Key Medium Error
> Additional sense: Write Error - auto reallocation failed
> end_request: I/O error, dev sdb, sector 19687
> ATA: abnormal status 0xD0 on port 0x977
So I assumed, that the second harddisk /dev/sdb is broken. After
reboot "cat /proc/mdstat" confirmed it, as only /dev/sda was active.
What is the prefered way to bring in a new raid device! Somebody can recommend
a "HOWTO rebuild raid1 for dummy".
Furthermore I had problems to start smartmonitor-tools for the drive still
> smartctl -i -d ata /dev/sda -T permissive
> smartctl version 5.32 Copyright (C) 2002-4 Bruce Allen
> Home page is http://smartmontools.sourceforge.net/
> Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)
> === START OF INFORMATION SECTION ===
> Device Model: [No Information Found]
> Serial Number: [No Information Found]
> Firmware Version: [No Information Found]
> Device is: Not in smartctl database [for details use: -P showall]
> ATA Version is: 1
> ATA Standard is: Exact ATA specification draft version not indicated
> Local Time is: Wed Aug 9 11:43:58 2006 CEST
> SMART is only available in ATA Version 3 Revision 3 or greater.
> We will try to proceed in spite of this.
> SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if
> SMART supported. A mandatory SMART command failed: exiting. To continue,
> add one or more '-T permissive' options.
Any help is appreciated.