GELI devices produced with 9.0+ fail when mounted on 8.2, etc?

Xin LI delphij at gmail.com
Mon Oct 17 02:51:35 UTC 2011


On Sun, Oct 16, 2011 at 7:43 PM, Garrett Cooper <yanegomi at gmail.com> wrote:
> On Oct 16, 2011, at 5:32 PM, Xin LI wrote:
>
>> On Sun, Oct 16, 2011 at 5:01 PM, Garrett Cooper <yanegomi at gmail.com> wrote:
>> [...]
>>>        The attach will fail with the following message:
>>>
>>> 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.  It's not a regression IMHO.
>
> In other words this is a design flaw, because geli metadata is only forwards compatible. One of FreeBSD's claims to fame is its backwards compatibility -- 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,
-- 
Xin LI <delphij at delphij.net> https://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die


More information about the freebsd-geom mailing list