From owner-freebsd-current@FreeBSD.ORG Wed Jul 16 00:45:33 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD4C51065671; Wed, 16 Jul 2008 00:45:33 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from fallbackmx09.syd.optusnet.com.au (fallbackmx09.syd.optusnet.com.au [211.29.132.242]) by mx1.freebsd.org (Postfix) with ESMTP id 5D0508FC22; Wed, 16 Jul 2008 00:45:33 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by fallbackmx09.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m6F9piSY005997; Tue, 15 Jul 2008 19:51:44 +1000 Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m6F9pelR028371 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 15 Jul 2008 19:51:40 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m6F9pdIm093292; Tue, 15 Jul 2008 19:51:39 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m6F9pdAf093291; Tue, 15 Jul 2008 19:51:39 +1000 (EST) (envelope-from peter) Date: Tue, 15 Jul 2008 19:51:39 +1000 From: Peter Jeremy To: Maxim Sobolev Message-ID: <20080715095139.GA62764@server.vk2pj.dyndns.org> References: <200807131153.m6DBrDkX067657@repoman.freebsd.org> <487C6A86.20508@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VZEZlOQeSr/zV9d3" Content-Disposition: inline In-Reply-To: <487C6A86.20508@FreeBSD.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Remko Lodder , src-committers@freebsd.org, Pawel Jakub Dawidek , "current@freebsd.org" Subject: Re: geom_mirror silently upgrading metadata [Was: cvs commit: src UPDATING] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 16 Jul 2008 00:45:34 -0000 --VZEZlOQeSr/zV9d3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Jul-15 02:14:46 -0700, Maxim Sobolev wrote: >Not really relevant to the change in question, but I think that the=20 >whole idea of geom_mirror updating on-disk metadata automagically is not= =20 > very well thought out. For example one could try booting 7.x kernel on= =20 >6.x system just to see how well it goes with the intention to revert=20 >back if it doesn't work out well. Agreed. I raised the same issue on -stable in late June. >and re-creating/re-syncing the mirror after that. I've run into exactly=20 >this issue today, with the target machine stuck in unbootable state on=20 >another continent many thousand miles away. I was lucky that I didn't need to revert. >IMHO metadata update should be performed if and only if explicitly=20 >requested by the administrator. Agreed. It's especially worrying that there's absolutely no warning that a particular version of geom_mirror has a different metadata format and loading it will make your gmirror unusable with an older gmirror. IMHO, any geom changes changes that prevent reversion should be noted in UPDATING (at the very least). --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --VZEZlOQeSr/zV9d3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkh8cysACgkQ/opHv/APuId+jgCeMXoS9EoKz9RPzsILimbAJgEo MO0AoJHoei1lQNh9dS8SDx/RkuOdRtIq =5MlO -----END PGP SIGNATURE----- --VZEZlOQeSr/zV9d3--