From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 14:23:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADFCE1065689 for ; Wed, 27 Feb 2008 14:23:37 +0000 (UTC) (envelope-from fbsd06+TQ=e8b94b1b@mlists.homeunix.com) Received: from turtle-out.mxes.net (turtle-out.mxes.net [216.86.168.191]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE708FC2E for ; Wed, 27 Feb 2008 14:23:37 +0000 (UTC) (envelope-from fbsd06+TQ=e8b94b1b@mlists.homeunix.com) Received: from mxout-04.mxes.net (mxout-04.mxes.net [216.86.168.179]) by turtle-in.mxes.net (Postfix) with ESMTP id 475341646E6 for ; Wed, 27 Feb 2008 08:55:52 -0500 (EST) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id DA7C3D05A4 for ; Wed, 27 Feb 2008 08:55:50 -0500 (EST) Date: Wed, 27 Feb 2008 13:55:47 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080227135547.76132b2f@gumby.homeunix.com.> In-Reply-To: <47C46146.2080307@gmail.com> References: <47C46146.2080307@gmail.com> X-Mailer: Claws Mail 3.3.0 (GTK+ 2.12.8; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: usb external hd question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 14:23:37 -0000 On Tue, 26 Feb 2008 19:58:14 +0100 Miguel Giral wrote: > also, a side question. When attaching a geli provider, i get this: > > GEOM_ELI: Device ad4s3.eli created. > GEOM_ELI: Encryption: Blowfish-CBC 256 > GEOM_ELI: Crypto: software > WARNING: Expected rawoffset 14548865, found 14548865 > > i've been getting it since i edited the label of ad4s3.eli > I don't really know if it's a bad thing to get that warning, since > both numbers are the same. If you look at the source code (in /usr/src/sys/geom/geom_bsd.c), it's dividing the offsets by a sector-size when it prints them out. So they only the same when rounded-down to a sector boundary. I guess you are using a larger sector-size for geli, and specified a fraction of a sector somewhere in the disklabel. BTW it doesn't make much difference, but I don't see any point in using anything other than 448 bits for blowfish under geli. Unlike the other ciphers, no part of its performance is affected by keysize.