From owner-freebsd-stable@FreeBSD.ORG Sat Sep 9 14:27:02 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D36916A407; Sat, 9 Sep 2006 14:27:02 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.ipactive.de [85.214.39.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D42043D45; Sat, 9 Sep 2006 14:27:00 +0000 (GMT) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (gprs-pool-1-012.eplus-online.de [212.23.126.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id DEA3733D21; Sat, 9 Sep 2006 16:26:53 +0200 (CEST) Received: from [127.0.0.1] (cesar.sz.vwsoft.com [192.168.16.3]) by mail.vtec.ipme.de (Postfix) with ESMTP id 6FEE02E54D; Sat, 9 Sep 2006 16:26:31 +0200 (CEST) Message-ID: <4502CF2C.6000104@vwsoft.com> Date: Sat, 09 Sep 2006 16:26:52 +0200 From: Volker User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <44FF4909.9020108@vwsoft.com> <44FF5B02.3090804@vwsoft.com> <44FF6FE6.4080602@protected-networks.net> <4500860B.3050804@protected-networks.net> <450089E2.5090906@vwsoft.com> In-Reply-To: <450089E2.5090906@vwsoft.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: pjd@freebsd.org Subject: Re: gmirror RAID-1: rebuilding freezes machine X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Sep 2006 14:27:02 -0000 regarding the gmirror issue, I've seen the following cvs commit: > Revision 1.66.2.9 / (download) - annotate - [select for diffs], Fri Sep 8 17:39:41 2006 UTC (20 hours, 35 minutes ago) by pjd > Branch: RELENG_6 > Changes since 1.66.2.8: +5 -12 lines > Diff to previous 1.66.2.8 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) > > Back out previous change from RELENG_6. There is a problem with > synchronization with those changes and I need some time to investigate it. I've csup'ed again, rebuild world + kernel and now gmirror sounds fine again and does the syncing. Thanks, pjd for fast fixing! One feature request on gmirror: If a system comes up and more than one mirror is out of sync, currently gmirror tries (in automatic mode) to re-sync all providers at the same time which slows down the system. When gmirror tries to do a resync, it would make sense to do that one by one and not all at the same time as the disk head moves erratically and seek time is wasted time. Because of that I'm now using automatic rebuild mode on the first (root-fs) gmirror slice and will fire a manual re-sync on the others one by one if needed. I guess I'll put that logic in an rc script but gmirror might avoid doing concurrent re-syncs and instead using a queue like behavior. Greetings, Volker