Hi all,
I have a debian linux box with kernel 2.6.11.8 from kernel.org.
I have 2 new 160GB Seagate SATA drives (ST3160827AS), and have been trying to set this up as a software raid1 after installing the OS on one of the drives (/dev/sda).
I have followed the instructions at xtronics.com/reference/SATA-RAID-debian-for-2.6.html, with mixed success.
Basically everything works as expected, with two of the 3 partitions raiding together successfuly.
mdadm /dev/md0 -a /dev/sdb1
mdadm /dev/md1 -a /dev/sdb2
My problem occurs whendoing an mdadm -a command for the remaining md device:
mdadm /dev/md2 -a /dev/sdb3
This syncs data from /dev/sda3 usually up to 99.9%, but never completes.
dmesg output:
Code:
SCSI error : <1 0 0 0> return code = 0x8000002
sdb: Current: sense key: Aborted Command
Additional sense: Scsi parity error
end_request: I/O error, dev sdb, sector 124101858
ATA: abnormal status 0xD9 on port 0xE08020C7
ATA: abnormal status 0xD9 on port 0xE08020C7
ATA: abnormal status 0xD9 on port 0xE08020C7
ata2: command 0x35 timeout, stat 0xd9 host_stat 0x61
ata2: status=0xd9 { Busy }
SCSI error : <1 0 0 0> return code = 0x8000002
Eventually it causes the box to lock up, forcing me to reset it.
I thought this might indicate bad sectors or something, so I ran a full scan using Seatools, but this did not detect any problems.
Code:
# mdadm -D /dev/md2
/dev/md2:
Version : 00.90.01
Creation Time : Fri May 20 13:28:09 2005
Raid Level : raid1
Array Size : 155115520 (147.93 GiB 158.84 GB)
Device Size : 155115520 (147.93 GiB 158.84 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 2
Persistence : Superblock is persistent
Update Time : Tue May 31 00:00:33 2005
State : clean, degraded, recovering
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
Rebuild Status : 1% complete
UUID : 92f52439:c5f8b6d4:b4214681:8c9a0db2
Events : 0.347937
Number Major Minor RaidDevice State
0 8 3 0 active sync /dev/.static/dev/sda3
1 0 0 - removed
2 8 19 1 spare rebuilding /dev/.static/dev/sdb3
Any help would be greatly appreciated.
Cheers