From owner-freebsd-geom@FreeBSD.ORG Tue Jan 30 09:02:46 2007 Return-Path: X-Original-To: freebsd-geom@FreeBSD.ORG Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4AEC16A408 for ; Tue, 30 Jan 2007 09:02:46 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30315.mail.mud.yahoo.com (web30315.mail.mud.yahoo.com [209.191.69.77]) by mx1.freebsd.org (Postfix) with SMTP id A926A13C4AA for ; Tue, 30 Jan 2007 09:02:46 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 42399 invoked by uid 60001); 30 Jan 2007 09:02:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=ETGGgnx3oUZecDHBHzOOrSV6SkIL1AqpOluhc2spItopskKNVsob0F/o9pvVO7UxZIUvqS1nAa7H2qfnRLpDNuMIZxQatxsLKidxZBJeMqbK3YB8JInh66CcpfmeuvBwVqOktsZVFFv3pgPkxV5wil1JGuJKf3m4+w3AKL77iyY= ; Message-ID: <20070130090246.42397.qmail@web30315.mail.mud.yahoo.com> X-YMail-OSG: XA4gw5IVM1kaRDmqkHmC6wgmBK7Nnt.Lu8GzQqsTcfYzj4S8920P7WqzjLc4I.eZD7gvTA0mfY5vuRN4x9VY0wkPR5yLtSspj.44gcDZABiMJ7RUiqc- Received: from [85.212.23.3] by web30315.mail.mud.yahoo.com via HTTP; Tue, 30 Jan 2007 01:02:45 PST Date: Tue, 30 Jan 2007 01:02:45 -0800 (PST) From: "R. B. Riddick" To: Oliver Fromme , freebsd-geom@FreeBSD.ORG In-Reply-To: <200701300851.l0U8pEkO005250@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: gmirror or ata problem X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2007 09:02:47 -0000 Hi! --- Oliver Fromme wrote: > This is strange. gmirror just detached one of its disks > for no apparent reason. I've built a mirror consisting of > the components ad0 and ad1 (both SATA drives). It has > been running fine. This is RELENG_6 from 2006-12-20. > > Yesterday evening ad1 was detached. There is no other > error message logged on console or in the logs (i.e. no > I/O error such as a bad sector or anything). There was > no particularly high load at that time. In fact, the > machine had been under much higher load before, without > anything bad happening. > > This is from the logs: > > Jan 29 19:10:13 pluto -- MARK -- > Jan 29 19:20:26 pluto kernel: ad1: FAILURE - device detached > Jan 29 19:20:26 pluto kernel: subdisk1: detached > Jan 29 19:20:26 pluto kernel: ad1: detached > Jan 29 19:20:26 pluto kernel: GEOM_MIRROR: Cannot write metadata on ad1 > (device=gm0, error=6). > Jan 29 19:20:26 pluto kernel: GEOM_MIRROR: Cannot update metadata on disk ad1 > (error=6). > Jan 29 19:20:26 pluto kernel: GEOM_MIRROR: Cannot update metadata on disk ad1 > (error=6). > Jan 29 19:20:26 pluto kernel: GEOM_MIRROR: Device gm0: provider ad1 > disconnected. > Jan 29 19:50:13 pluto -- MARK -- > My theory is: 1. Ur ad1 disk when to bed like others in ur time zone... 2. Then gmirror tried to write meta data, which woke up the disk 3. BUT: The disk was too slow, so ata_disk.c decided to detach the disk without another try. 4. Then gmirror complained about its unability to write meta data. Remember: Meta data is written from time to time by gmirror, because it likes to mark the mirror clean/dirty depending on the write requests... Remark: I think, etc@fluffles.net reported that some weeks ago... > This almost looks like typical Windows problems: Something > reports a "failure", but no reason or any other useful > information. :-( > Ooch... That was mean... :-) > "atacontrol list" reports for ad1:: > > Master: no device present > This looks like that bug, etc@fluffles.net reported... It helped her box to increase some timeout from 5 sec to 15sec... Maybe this is a mission for sos@ ? > After an atacontrol detach/attach cycle, the device is back > again: > > Master: ad1 Serial ATA II > Lucky u! :) > I inserted it back into the gmirror, and right now it's > synchronizing happily. > :-) -Arne ____________________________________________________________________________________ Don't pick lemons. See all the new 2007 cars at Yahoo! Autos. http://autos.yahoo.com/new_cars.html