replacing faulty disk in a gmirror

Vincent Zee zenzee at xs4all.nl
Fri Nov 27 20:35:22 UTC 2009


Hi Stan,

thanks for your answer.

On 27 November 2009, at 20:30, stan wrote:

> On Fri, Nov 27, 2009 at 05:37:02PM +0100, Vincent Zee wrote:
>> Hi,
>> 
>> I'm trying to replace a faulty disk in a gmirror mirror but
>> it fails.
>> 
>> This machine contains two mirrors: mirror0 and mirror1 each
>> containing two disks of 500 GB. mirror1 is giving me trouble.
>> 
>> The disk on channel 3 (ad6), which was identical to the disk on 
>> channel 2 (ad4), was faulty and I replaced it with a larger disk
>> this morning. The new disk is a Western Digital 640 GB.
>> 
>> The steps I took sofar:
>> 
>> #gmirror forget mirror1
>> 
>> #gmirror insert mirror1 ad6
>> 
>> A "gmirror status" shows the new disk being added to mirror1.
>> It then starts to write to the new disk but stops after a few
>> seconds and when I do "gmirror status" again the new disk is
>> gone again.
>> 
>> Any ideas?
>> 
> I have several Sun X2100's, and the have a problem with the riser
> connector for the drives. I have seen behaviios like this, when I had a
> hardware problem. Might that be your issue?

The sata drives are on a cheap controller:

atapci1: <SiI SiI 3512 SATA150 controller> port 0xdc00-0xdc07,
0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec0f
 mem 0xdf002000-0xdf0021ff irq 10 at device 20.0 on pci0

I looked at dmesg and found this error message:

GEOM_MIRROR: Device mirror1: rebuilding provider ad6.
interrupt storm detected on "irq10:"; throttling interrupt source
interrupt storm detected on "irq10:"; throttling interrupt source
interrupt storm detected on "irq10:"; throttling interrupt source
interrupt storm detected on "irq10:"; throttling interrupt source
interrupt storm detected on "irq10:"; throttling interrupt source
ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=35200
ad6: FAILURE - WRITE_DMA status=51<READY,DSC,ERROR>
 error=4<ABORTED> LBA=358528
GEOM_MIRROR: Synchronization request failed (error=5). ad6[WRITE(offset=183500800, length=131072)]
GEOM_MIRROR: Device mirror1: provider ad6 disconnected.
GEOM_MIRROR: Device mirror1: rebuilding provider ad6 stopped.

/\
Vincent


More information about the freebsd-questions mailing list