From owner-freebsd-geom@FreeBSD.ORG Mon Oct 17 02:51:35 2011 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 624A11065670; Mon, 17 Oct 2011 02:51:35 +0000 (UTC) (envelope-from delphij@gmail.com) Received: from mail-yx0-f177.google.com (mail-yx0-f177.google.com [209.85.213.177]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA388FC0C; Mon, 17 Oct 2011 02:51:34 +0000 (UTC) Received: by yxk36 with SMTP id 36so3263599yxk.8 for ; Sun, 16 Oct 2011 19:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=O8IhxJlJ06aKK1RnTC0bz4XetMN1r1sHKtHuQ+EuKJw=; b=Ws/xOKTVyHqkE3dX4aVyhf4sFbyM2lS+s+mqhKpxmBGHrRpC8lEU8iuOReUMXXipnJ mCuOvQPS2hNNq3wCEmkhIGqaLbf5Dg+WGsQAL6BFeKKYhxqYSR9I42K1CU7kYWqWJFkL VrN4+ntY0fjaZN6Sq2kZxHOEoN9JqYNUzHqXE= MIME-Version: 1.0 Received: by 10.182.225.3 with SMTP id rg3mr1117240obc.77.1318819894284; Sun, 16 Oct 2011 19:51:34 -0700 (PDT) Received: by 10.182.188.97 with HTTP; Sun, 16 Oct 2011 19:51:34 -0700 (PDT) In-Reply-To: <7EC93C28-6405-443F-92C6-0291F8D88995@gmail.com> References: <924643A0-0798-4FAC-8F82-4AFBC56DC8D7@gmail.com> <7EC93C28-6405-443F-92C6-0291F8D88995@gmail.com> Date: Sun, 16 Oct 2011 19:51:34 -0700 Message-ID: From: Xin LI To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Xin LI , freebsd-geom@freebsd.org Subject: Re: GELI devices produced with 9.0+ fail when mounted on 8.2, etc? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Oct 2011 02:51:35 -0000 On Sun, Oct 16, 2011 at 7:43 PM, Garrett Cooper wrote: > On Oct 16, 2011, at 5:32 PM, Xin LI wrote: > >> On Sun, Oct 16, 2011 at 5:01 PM, Garrett Cooper wro= te: >> [...] >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0The attach will fail with the following mess= age: >>> >>> geli: MD5 hash mismatch for /dev/md0. >> >> I'm pretty sure that this is from userland, and because FreeBSD 9.x >> have support of GELI metadata version 6, while 8.2 have support up to >> metadata version 5. =C2=A0It's not a regression IMHO. > > In other words this is a design flaw, because geli metadata is only forwa= rds compatible. One of FreeBSD's claims to fame is its backwards compatibil= ity -- why aren't geom developers adhering to this? Backward compatibility is that you can expect what's working in an older version of FreeBSD would just work on a newer version of FreeBSD, not the contrary. Cheers, --=20 Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die