From owner-freebsd-stable@FreeBSD.ORG Fri Jun 27 21:49:18 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 973081065673; Fri, 27 Jun 2008 21:49:18 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by mx1.freebsd.org (Postfix) with ESMTP id 3486C8FC0C; Fri, 27 Jun 2008 21:49:18 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m5RLnFa5018555 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Jun 2008 07:49:16 +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 m5RLnCic027077; Sat, 28 Jun 2008 07:49:12 +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 m5RLnCNl027076; Sat, 28 Jun 2008 07:49:12 +1000 (EST) (envelope-from peter) Date: Sat, 28 Jun 2008 07:49:12 +1000 From: Peter Jeremy To: freebsd-stable@freebsd.org Message-ID: <20080627214912.GB50631@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TeJTyD9hb8KJN2Jy" Content-Disposition: inline X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: pjd@freebsd.org Subject: GEOM gotcha upgrading from 6.x to 7.x 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: Fri, 27 Jun 2008 21:49:18 -0000 --TeJTyD9hb8KJN2Jy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Yesterday, I planned to try an upgrade from 6.x to 7.x on one of the servers at work, on the assumption that I could reasonably easily revert to 6.x if things went bad. My confidence in being able to do that was severely shaken when I saw "Upgrading metadata" messages for both geom_mirror disks when the 7.x kernel booted. Whilst I did not need to revert, some examination of the geom_mirror source shows that (as I feared), a 6.x kernel will choke on a 7.x geom_mirror. I've looked through the various geom man pages, UPDATING, the relevant commit message and various mailing lists and am unable to find any mention of this. Having the kernel automatically alter persistent state on the host in a way that is incompatible with earlier kernels is bad enough. Doing so without any mechanism to revert the change and with no "heads-up" warning of the change is, IMO, unacceptable. I accept that it's sometimes necessary to make changes that are not backward compatible or that are difficult to revert, such changes are normally discussed in advance and come with heads-up warnings. I can't think of any previous case where simply test booting a kernel is enough to render your system unusable with an older kernel. --=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. --TeJTyD9hb8KJN2Jy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhlYFgACgkQ/opHv/APuIfZiACgo0EFnN62byDhlOqSzRpI9LSM IdMAoJh616q1aTqMl4ToyB2eoQvyMyog =6Kp/ -----END PGP SIGNATURE----- --TeJTyD9hb8KJN2Jy--