From owner-freebsd-current@FreeBSD.ORG Thu Oct 7 13:35:53 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA1FD16A4CE for ; Thu, 7 Oct 2004 13:35:53 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9622E43D31 for ; Thu, 7 Oct 2004 13:35:51 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 251A7ACC65; Thu, 7 Oct 2004 15:35:37 +0200 (CEST) Date: Thu, 7 Oct 2004 15:35:37 +0200 From: Pawel Jakub Dawidek To: John Hay Message-ID: <20041007133537.GC73767@darkness.comp.waw.pl> References: <20041006195428.GA8886@zibbi.icomtek.csir.co.za> <20041007055209.GU73767@darkness.comp.waw.pl> <20041007065125.GA29164@zibbi.icomtek.csir.co.za> <20041007082652.GX73767@darkness.comp.waw.pl> <20041007085920.GA32875@zibbi.icomtek.csir.co.za> <20041007090656.GY73767@darkness.comp.waw.pl> <20041007132421.GA41532@zibbi.icomtek.csir.co.za> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x+bne1ZFwxW5PfJO" Content-Disposition: inline In-Reply-To: <20041007132421.GA41532@zibbi.icomtek.csir.co.za> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: freebsd-current@freebsd.org Subject: Re: geom mirror problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2004 13:35:53 -0000 --x+bne1ZFwxW5PfJO Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 07, 2004 at 03:24:21PM +0200, John Hay wrote: +> Ok with an updated RELENG_5 and g_mirror.c patched with v 1.34, 1.35 +> and 1.36 and also with your gmirror.patch, which adds g_waitidlelock() +> I still get the setrootbyname failed message and then it goes to the +> mountroot> prompt. With g_mirror.c 1.36 there should be no race you are seeing... +> I'll try without the gmirror.patch and see how that goes, but it will +> be a few hours because syncing takes a while on two 120G disks. +>=20 +> Something that still bothers me are those +>=20 +> GEOM_MIRROR: Cannot update metadata on disk ad0 (error=3D1). This is because ad0 is open with exclusive bit, so gmirror cannot open it for writing and it gets (EPERM - error=3D1 - errno(2)). gmirror.patch should eliminate this race. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --x+bne1ZFwxW5PfJO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBZUYpForvXbEpPzQRAuycAKDYRJ10qkjaDGhd8HSvEH+0LQUB4wCcCnlZ ni2n3zO012PXSBG6cNlWgbQ= =dKnu -----END PGP SIGNATURE----- --x+bne1ZFwxW5PfJO--