Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2008 10:58:25 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Alaksiej C <ac@belngo.info>
Cc:        freebsd-geom@FreeBSD.ORG
Subject:   Re: Strange behaviour of GELI integrity verification
Message-ID:  <20080912085825.GC2951@garage.freebsd.pl>
In-Reply-To: <5709ce310809110911s7a8163c6g3ce042f8db1edf20@mail.gmail.com>
References:  <5709ce310809110911s7a8163c6g3ce042f8db1edf20@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFIyi8wForvXbEpPzQRAhDCAKCPjZ34FvrbtmoB5K5ITZPZe/DPAQCgh8Xa
w8e+Rkx8G/wtnACAqLIwY9w=
=7HB+
-----END PGP SIGNATURE-----

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