Strange behaviour of GELI integrity verification

Alaksiej C ac at belngo.info
Thu Sep 11 16:36:12 UTC 2008


Hello,

I am playing with geoms configuration like this:

gmirror label m0 /dev/ad1
geli label -a HMAC/SHA1 -e AES -l 256 -s 4096 /dev/mirror/m0

then I initialized m0.eli to stop messages about integrity errors:
dd if=/dev/random of=/dev/mirror/m0.eli

divided m0.eli in two slices and created ufs on m0.elia and zpool on m0.elid

Creation of filesystems, and even populating it with files many times echoed
with mesages:

GEOM_ELI: mirror/m0.eli: ... bytes corrupted at offset  ...

It doesn't look like reasonable behaviour, I think. Could anybody please
point me where's the problem?


FreeBSD 7.0-RELEASE, GENERIC i386


More information about the freebsd-geom mailing list