From owner-freebsd-questions@FreeBSD.ORG Tue Apr 22 12:25:25 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 BCEBF1065675 for ; Tue, 22 Apr 2008 12:25:25 +0000 (UTC) (envelope-from raven@mks-chel.ru) Received: from impreza.mks-chel.ru (impreza.mks-chel.ru [92.43.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 522DE8FC14 for ; Tue, 22 Apr 2008 12:25:25 +0000 (UTC) (envelope-from raven@mks-chel.ru) Received: from localhost (impreza.mks-chel.ru [92.43.184.3]) by impreza.mks-chel.ru (Postfix) with ESMTP id 62DFC1072B5F for ; Tue, 22 Apr 2008 18:05:20 +0600 (YEKST) X-Virus-Scanned: by GENOCIDE at mks-chel.ru Received: from [10.72.1.102] (unknown [10.72.1.102]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by impreza.mks-chel.ru (Postfix) with ESMTP for ; Tue, 22 Apr 2008 18:05:20 +0600 (YEKST) Message-ID: <480DD47F.40906@mks-chel.ru> Date: Tue, 22 Apr 2008 18:05:19 +0600 From: Dmitry Sukhodoyev User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <480C3523.5000108@gmail.com> <20080422021227.27f30a59@gumby.homeunix.com.> In-Reply-To: <20080422021227.27f30a59@gumby.homeunix.com.> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 12:25:25 -0000 RW 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. > i can modify some source of kernel of 6.1 and rebuild it for correct hash calculating. which source files can i import from 6.3 to 6.1 for up this drive? this is a huge disk: raid5 array, 3Tb data. data dump isn't possible. -- raVen