From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 01:12:30 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE7AA106566C for ; Tue, 22 Apr 2008 01:12:30 +0000 (UTC) (envelope-from fbsd06+VH=b3febd86@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id D20F78FC14 for ; Tue, 22 Apr 2008 01:12:30 +0000 (UTC) (envelope-from fbsd06+VH=b3febd86@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 89A8F23E4A3 for ; Mon, 21 Apr 2008 21:12:29 -0400 (EDT) Date: Tue, 22 Apr 2008 02:12:27 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080422021227.27f30a59@gumby.homeunix.com.> In-Reply-To: <480C3523.5000108@gmail.com> References: <480C3523.5000108@gmail.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: cannot move geli disk from 6.3-R to 6.1-R X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 01:12:31 -0000 On Mon, 21 Apr 2008 12:33:07 +0600 Dmitry Sukhodoyev wrote: > i try to attach geli provider, which i have used in 6.3-RELEASE to > 6.1-RELEASE: > > # geli attach -k /root/da1.key /dev/da1 > MD5 hash mismatch for /dev/da1 > > in 6.3-R it still attaches successfully, but in 6.1-R is not. system > with 6.1-R is not my own, so i can't update it. how i can attach geli > provider from my 6.3-R to this 6.1-R? In the 7.0 source code there are two versions of the function that computes that hash, so I guess that 6.3 is back-compatible with 6.1, but that a 6.3 geli-device can't be read by 6.1. If this is a removable drive that needs to inter-operate, I would suggest that you dump the data, and create a new geli device under 6.1.