Strange behaviour of GELI integrity verification

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Sep 12 08:58:26 UTC 2008


On Thu, Sep 11, 2008 at 07:11:06PM +0300, Alaksiej C wrote:
> 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

What was the result of this command? If you forget to call dd(1) with
bs=4096 it will fail.

> 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?

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20080912/412bbdc7/attachment.pgp


More information about the freebsd-geom mailing list