From owner-freebsd-questions@FreeBSD.ORG Wed Jun 3 20:58:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A578A106564A for ; Wed, 3 Jun 2009 20:58:19 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id DDBEE8FC1A for ; Wed, 3 Jun 2009 20:58:17 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n53KwBQt027655; Wed, 3 Jun 2009 22:58:11 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n53KwARW027652; Wed, 3 Jun 2009 22:58:11 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 3 Jun 2009 22:58:10 +0200 (CEST) From: Wojciech Puchar To: Reid Linnemann In-Reply-To: <4A26DBAD.6000005@cs.okstate.edu> Message-ID: References: <4A26DBAD.6000005@cs.okstate.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions Subject: Re: An adage for gmirror users X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2009 20:58:20 -0000 > My mirror gm0 consists of two SATA disks, ad4 and ad6. Now, I have a > finicky controller that sporadically spits out READ_DMA and READ_DMA48 or bad cables. > timeouts inexplicably. So at some point in time immemorial after > installing the last kernel, ad4 suffered a number of READ_DMA48 errors > and dropped out without being removed from the mirror's provider list . > So when I installed my new flashy kernel with all my filesystems > mounted, it was put into /boot/kernel on the mirror, which at that point > consisted of only ad6. On boot, the loader grabbed the kernel from i simply have in crontab a script running once per hour: #!/bin/sh /sbin/gmirror status|grep -q DEGRADED && \\ mail -s "gmirror failure" myphonenumber@mygsmoperator.pl