From owner-freebsd-geom@FreeBSD.ORG Fri Sep 12 08:58:26 2008 Return-Path: Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0321065671 for ; Fri, 12 Sep 2008 08:58:26 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045140.chello.pl [87.206.45.140]) by mx1.freebsd.org (Postfix) with ESMTP id DA5EE8FC1D for ; Fri, 12 Sep 2008 08:58:25 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 777AD45C9F; Fri, 12 Sep 2008 10:58:24 +0200 (CEST) Received: from localhost (kszczepanski.wheel.pl [10.0.1.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9F04545B36; Fri, 12 Sep 2008 10:58:19 +0200 (CEST) Date: Fri, 12 Sep 2008 10:58:25 +0200 From: Pawel Jakub Dawidek To: Alaksiej C Message-ID: <20080912085825.GC2951@garage.freebsd.pl> References: <5709ce310809110911s7a8163c6g3ce042f8db1edf20@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ABTtc+pdwF7KHXCz" Content-Disposition: inline In-Reply-To: <5709ce310809110911s7a8163c6g3ce042f8db1edf20@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@FreeBSD.ORG Subject: Re: Strange behaviour of GELI integrity verification X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2008 08:58:26 -0000 --ABTtc+pdwF7KHXCz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 11, 2008 at 07:11:06PM +0300, Alaksiej C wrote: > Hello, >=20 > I am playing with geoms configuration like this: >=20 > gmirror label m0 /dev/ad1 > geli label -a HMAC/SHA1 -e AES -l 256 -s 4096 /dev/mirror/m0 >=20 > then I initialized m0.eli to stop messages about integrity errors: > dd if=3D/dev/random of=3D/dev/mirror/m0.eli What was the result of this command? If you forget to call dd(1) with bs=3D4096 it will fail. > divided m0.eli in two slices and created ufs on m0.elia and zpool on m0.e= lid >=20 > Creation of filesystems, and even populating it with files many times ech= oed > with mesages: >=20 > GEOM_ELI: mirror/m0.eli: ... bytes corrupted at offset ... >=20 > It doesn't look like reasonable behaviour, I think. Could anybody please > point me where's the problem? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ABTtc+pdwF7KHXCz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIyi8wForvXbEpPzQRAhDCAKCPjZ34FvrbtmoB5K5ITZPZe/DPAQCgh8Xa w8e+Rkx8G/wtnACAqLIwY9w= =7HB+ -----END PGP SIGNATURE----- --ABTtc+pdwF7KHXCz--