From owner-freebsd-questions@FreeBSD.ORG Tue Apr 19 11:38:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2D5BB16A4CE for ; Tue, 19 Apr 2005 11:38:27 +0000 (GMT) Received: from parrot.aev.net (host29-15.pool8174.interbusiness.it [81.74.15.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94DCF43D5A for ; Tue, 19 Apr 2005 11:38:24 +0000 (GMT) (envelope-from ml.diespammer@netfence.it) Received: from soth.ventu (adsl-205-23.37-151.net24.it [151.37.23.205]) (authenticated bits=128) by parrot.aev.net (8.13.4/8.13.4) with ESMTP id j3JBf2Du034668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 19 Apr 2005 13:41:10 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Received: from netfence.it (xanatar.ventu [10.1.2.6]) (authenticated bits=0) by soth.ventu (8.13.3/8.13.1) with ESMTP id j3JBbhx6045912 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 19 Apr 2005 13:37:44 +0200 (CEST) (envelope-from ml.diespammer@netfence.it) Message-ID: <4264FBC9.4090009@netfence.it> Date: Tue, 19 Apr 2005 14:38:33 +0200 From: Andrea Venturoli Organization: NetFence User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.6) Gecko/20040117 X-Accept-Language: it,en,fr,de MIME-Version: 1.0 To: Danny Howard , freebsd-questions@freebsd.org References: <4263681A.7030501@netfence.it> <4263F4E0.8040007@toldme.com> In-Reply-To: <4263F4E0.8040007@toldme.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.51 on 192.168.2.2 Subject: Re: gmirror losing drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Apr 2005 11:38:27 -0000 Danny Howard wrote: > I'm not entirely sure on this one ... you have RTFM? Obviously. I started with the tutorial at http://people.freebsd.org/~rse/mirror/, but I read the whole manual before setting it up. > There's "gmirror > configure -a" ... but that is about synchronization. Yes, and synchronization works fine. > What does gmirror info says before you forget / insert? Hm, I'd have to reboot. Right now it says: Geom name: gm0 State: COMPLETE Components: 2 Balance: split Slice: 2048 Flags: NONE SyncID: 5 ID: 2253479574 Providers: 1. Name: mirror/gm0 Mediasize: 36778544640 (34G) Sectorsize: 512 Mode: r3w3e2 Consumers: 1. Name: da1 Mediasize: 36778545152 (34G) Sectorsize: 512 Mode: r3w3e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 5 ID: 4069582681 2. Name: da0 Mediasize: 36778545152 (34G) Sectorsize: 512 Mode: r3w3e3 State: ACTIVE Priority: 0 Flags: DIRTY SyncID: 5 ID: 4172309470 Geom name: gm0.sync After a reboot I only see da1 under Consumers and State is DEGRADED (Componentis are still 2, though). > My hunch is that you are not rebooting cleanly, so when the system comes > up, gmirror thinks it has to re-sync the disks I would expect this behaviour, but: a) I am rebooting cleanly; b) it doesn't just need resync (that happened to me on another machine), it really loses one drive/Consumer!!! > but it is not configured to do so automatically? It is, and in fact it does, as soon as I forget/reinsert da0. > What command / process did you use to set up your mirror? Hard to remember. I more or less followed the tutorial above. BTW: system is 5.3p9 now bye & Thanks av.