From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 28 00:26:59 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79E6516A569 for ; Wed, 28 Nov 2007 00:26:59 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from cenn-smtp.mc.mpls.visi.com (cenn.mc.mpls.visi.com [208.42.156.9]) by mx1.freebsd.org (Postfix) with ESMTP id 4DFB713C503 for ; Wed, 28 Nov 2007 00:26:59 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by cenn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 23E4885BD; Tue, 27 Nov 2007 18:03:24 -0600 (CST) Received: from build64.tcbug.org (unknown [208.42.70.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTP id 0B53B10AA8A2; Tue, 27 Nov 2007 18:03:25 -0600 (CST) From: Josh Paetzel To: freebsd-hackers@freebsd.org Date: Tue, 27 Nov 2007 18:03:20 -0600 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8908120.kgiLXA6sxj"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711271803.23264.josh@tcbug.org> Cc: "firmdog@gmail.com" Subject: Re: ad0: WARNING - removed from configuration (atacontrol and gmirror relationship?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Nov 2007 00:26:59 -0000 --nextPart8908120.kgiLXA6sxj Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 27 November 2007 01:08:49 pm firmdog@gmail.com wrote: > This just happened on my server: > > Nov 22 03:21:11 sockeye kernel: ad0: TIMEOUT - WRITE_DMA retrying (2 > retries left) LBA=3D28892960 > Nov 22 03:21:11 sockeye kernel: ad0: WARNING - removed from configuration > Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Device gm0s1: provider ad0 > disconnected. > Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=3D6). > ad0[WRITE(offset=3D13881704448, length=3D12288)] > Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=3D6). > ad0[WRITE(offset=3D14795718656, length=3D2048)] > Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=3D6). > ad0[WRITE(offset=3D770891776, length=3D16384)] > Nov 22 03:21:11 sockeye kernel: ata0-master: FAILURE - WRITE_DMA timed out > Nov 22 03:21:11 sockeye kernel: GEOM_MIRROR: Request failed (error=3D5). > ad0[WRITE(offset=3D14793195520, length=3D2048)] > > Now the ad0 Master drive no longer exists: > > -su-2.05b$ sudo atacontrol list > ATA channel 0: > Master: no device present > Slave: acd0 ATA/ATAPI revision 5 > ATA channel 1: > Master: ad2 ATA/ATAPI revision 6 > Slave: ad3 ATA/ATAPI revision 6 > > > What is the relationship between atacontrol and gmirror? > > > Why was the device removed completely? > > > Can I simply do this? (want to be sure as this box is remote) > > gmirror forget data > > atacontrol attach ata0 > > gmirror insert data ad0 IDE devices generally aren't hot swappable, so you're going to have to take= =20 the box down to replace the failed drive (that's why it detached from the=20 bus). Once you do that you can rebuild the gmirror. =2D-=20 Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB --nextPart8908120.kgiLXA6sxj Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQBHTLBLJvkB8SevrssRAhHAAJ9XXuGXa7OE9fkNo6cv1aG4SU0GAgCeJMaX dvgfvtdYZcFYq1XlVhTC06M= =OWgC -----END PGP SIGNATURE----- --nextPart8908120.kgiLXA6sxj--