From owner-freebsd-geom@FreeBSD.ORG Tue Sep 7 00:33:47 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BF3016A4CE; Tue, 7 Sep 2004 00:33:47 +0000 (GMT) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.49.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E32A43D46; Tue, 7 Sep 2004 00:33:47 +0000 (GMT) (envelope-from paul@gromit.dlib.vt.edu) Received: from hawkwind.Chelsea-Ct.Org (pool-151-199-91-61.roa.east.verizon.net [151.199.91.61]) by gromit.dlib.vt.edu (8.12.11/8.12.11) with ESMTP id i870XhtS099903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 6 Sep 2004 20:33:45 -0400 (EDT) (envelope-from paul@gromit.dlib.vt.edu) Received: from [192.168.1.25] (zappa [192.168.1.25])i870XVP2007612; Mon, 6 Sep 2004 20:33:37 -0400 (EDT) From: Paul Mather To: Krzysztof =?iso-8859-2?Q?Ciep=B3ucha?= In-Reply-To: <413CAD65.4080502@home.pl> References: <00d701c491af$253ebf30$fe78a8c0@kris> <413A28A5.4010902@home.pl><413CAD65.4080502@home.pl> Content-Type: text/plain; charset=iso-8859-2 Message-Id: <1094517210.5231.41.camel@zappa.Chelsea-Ct.Org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 06 Sep 2004 20:33:31 -0400 Content-Transfer-Encoding: 8bit cc: Pawel Jakub Dawidek cc: freebsd-geom@freebsd.org Subject: Re: problems with GEOM_MIRROR X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Sep 2004 00:33:47 -0000 On Mon, 2004-09-06 at 14:33, Krzysztof Ciepłucha wrote: > Pawel Jakub Dawidek wrote: > > > +> sysctl -b kern.geom.conftxt still shows labels like da0a .. da0f, and > > +> the mirror is still starting synchronization after every restart. > > > > I haven't check it yet, but maybe this is because of swap partition. > > On shutdown, file systems are unmounted, but I think swap paritition is not. > > Could you try to remove swap partition from fstab and try again? > > ok, you were right. after turning off swap the system starts without > synchronizing whole mirror. > and the 'sysctl -b kern.geom.conftxt' command doesn't show labels like > da0a anymore. this is what i expected. I use a RAIDframe RAID 1 mirror on my NetBSD/alpha system. There, they have a "swapoff" rc.conf variable that you should set to "YES" to have block swap devices removed (via "swapctl -U -t blk") during the rc.d shutdown sequence. Before that was introduced, I found that my /dev/raid1b swap device would initiate a parity rebuild upon reboot (presumably because it hadn't quiesced prior to shutdown). What does geom_mirror do with respect to quiescing prior to shutdown? Cheers, Paul. -- e-mail: paul@gromit.dlib.vt.edu "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." --- Frank Vincent Zappa