Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2008 18:05:19 +0600
From:      Dmitry Sukhodoyev <raven@mks-chel.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: cannot move geli disk from 6.3-R to 6.1-R
Message-ID:  <480DD47F.40906@mks-chel.ru>
In-Reply-To: <20080422021227.27f30a59@gumby.homeunix.com.>
References:  <480C3523.5000108@gmail.com> <20080422021227.27f30a59@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?480DD47F.40906>