From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 23:08:52 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A968106566B for ; Wed, 5 Oct 2011 23:08:52 +0000 (UTC) (envelope-from freebsd-questions@veggiechinese.net) Received: from mitch.veggiechinese.net (mitch.veggiechinese.net [66.33.206.106]) by mx1.freebsd.org (Postfix) with ESMTP id 5BF6E8FC08 for ; Wed, 5 Oct 2011 23:08:52 +0000 (UTC) Received: by mitch.veggiechinese.net (Postfix, from userid 1228) id AC41FA56C; Wed, 5 Oct 2011 16:08:51 -0700 (PDT) Date: Wed, 5 Oct 2011 16:08:51 -0700 From: William Yardley To: questions@freebsd.org Message-ID: <20111005230851.GD8202@mitch.veggiechinese.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 Cc: Subject: gmirror resync seems stalled 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, 05 Oct 2011 23:08:52 -0000 I had a drive which had some timeout problems, and got kicked out of a gmirror based RAID1 on my FreeBSD machine (now 8.2-RELEASE-p3). Normally, if the devices get out of sync, they rebuild relatively quickly, and I can watch the progress. This time, after running gmirror forget and inserting the device, it just seems to sit at '0%', despite the fact that it's supposedly synchronizing. I've tried removing and re-adding it a couple times, but the behavior is the same. Am I just being too impatient? Autosynchronization of stale components should have already been enabled (and the gmirror list output says 'synchronizing'), but I tried a "gmirror configure -a gm0" just in case. Also, any opinions on how safe the '-F' option ("Do not synchronize after a power failure or system crash") is? Following: # gmirror remove gm0 ad6 # gmirror forget gm0 ad6 # gmirror insert gm0 ad6 I see: # gmirror list Geom name: gm0 State: DEGRADED Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 4 SyncID: 1 ID: 506994055 Providers: 1. Name: mirror/gm0 Mediasize: 1000204885504 (932G) Sectorsize: 512 Mode: r6w5e14 Consumers: 1. Name: ad10 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 4 SyncID: 1 ID: 3348119132 2. Name: ad6 Mediasize: 1000204886016 (932G) Sectorsize: 512 Mode: r1w1e1 State: SYNCHRONIZING Priority: 0 Flags: DIRTY, SYNCHRONIZING GenID: 4 SyncID: 1 Synchronized: 0% ID: 3439333064 and the status seems to just stay at 0% relevant atacontrol output: ATA channel 3: Master: ad6 SATA revision 2.x Slave: no device present ATA channel 5: Master: ad10 SATA revision 2.x Slave: no device present