From owner-freebsd-questions@FreeBSD.ORG Fri Apr 20 12:18:36 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F194016A412 for ; Fri, 20 Apr 2007 12:18:36 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.181]) by mx1.freebsd.org (Postfix) with ESMTP id 887D013C468 for ; Fri, 20 Apr 2007 12:18:36 +0000 (UTC) (envelope-from illoai@gmail.com) Received: by ik-out-1112.google.com with SMTP id c21so1001526ika for ; Fri, 20 Apr 2007 05:18:35 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NHV3s2b4tlp7zgxxsCVDLde09nnuOslhZamNvSiN9H59vv/GbSsOwfO1heM9BhkWG8RhSPjZttfEMnjvQO3cThBSlIo9JVlToXjEyfSW1fPMxjvbz/EGpXiClJXLQmaOcletGyQedtUktd15pAw7FQWkkkm++RKHT92+lRXqd/4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N39OeZlpmdxzHaWpRMHTaSy5ffH1IQY2zvhSDJ0XwtJ+O3285HgLD5WnsoU1WiVlqMbmoW7gaZRhzpWAs/cK8Ea6+0GghdQ4h3RREkrUspzS2Njsut/MHb4sRopYeb4CZiBTKI5K07F6VZdgqNOkcpzL+Th+pf+f0YFtMhKry6A= Received: by 10.82.188.15 with SMTP id l15mr4562068buf.1177071514728; Fri, 20 Apr 2007 05:18:34 -0700 (PDT) Received: by 10.82.185.16 with HTTP; Fri, 20 Apr 2007 05:18:34 -0700 (PDT) Message-ID: Date: Fri, 20 Apr 2007 07:18:34 -0500 From: "illoai@gmail.com" To: "Cam Baillie" In-Reply-To: <241216.99686.qm@web36907.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <241216.99686.qm@web36907.mail.mud.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: gmirror - one provider won't activate 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: Fri, 20 Apr 2007 12:18:37 -0000 On 19/04/07, Cam Baillie wrote: > I set up a RAID 1 duplex following the well-laid out OnLamp > article. I had successfully synchronised both disks prior to > rebooting. Then I rebooted and the ad3 disk wouldn't activate. > > The system boots off of ad0 while slices within ad1 and ad3 are > supposed to serve as the duplex. The duplex (/dev/mirror/gm0) > mounts successfully to /usr/home so I have access to my data > from ad1. > > I am running 6.2-release. The dmesg and fstab files are attached. The pertinant lines from dmesg: ad0: 76319MB at ata0-master UDMA100 ad1: 286168MB at ata0-slave UDMA100 acd0: CDRW at ata1-master UDMA33 ad3: 286168MB at ata1-slave UDMA100 GEOM_MIRROR: Device gm0 created (id=2536797825). GEOM_MIRROR: Device gm0: provider ad1 detected. GEOM_MIRROR: Device gm0: provider ad3 detected. GEOM_MIRROR: Component ad3 (device gm0) broken, skipping. GEOM_MIRROR: Device gm0: provider ad1 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. Distressingly, from searching google with the line: GEOM_MIRROR: Component broken, skipping. I find lots of references to disk failures. Worse, there are several unanswered posts with nearly this very question. The cause of the error seems to be metadata corruption, which could be something as innocent as cosmic rays, or the dying screams of a thoroughly tormented hard-drive. One suggestion was to try using something like: # gmirror forget gm0 # gmirror insert gm0 /dev/ad3 And see if it works better. I suppose the admonition to backup what data you can from gm0 is not lost here. Also, make sure that all cables are properly seated. -- --