From owner-freebsd-questions@FreeBSD.ORG Wed May 20 01:06:26 2009 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 CBA621065677 for ; Wed, 20 May 2009 01:06:26 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 98C638FC25 for ; Wed, 20 May 2009 01:06:26 +0000 (UTC) (envelope-from mike@sentex.net) Received: from Mobile2.sentex.ca (cage.simianscience.com [64.7.134.1]) by smarthost1.sentex.ca (8.14.3/8.14.3) with SMTP id n4K15MMW053516; Tue, 19 May 2009 21:05:22 -0400 (EDT) (envelope-from mike@sentex.net) From: mike@sentex.net To: Bernt Hansson Date: Tue, 19 May 2009 21:05:44 -0400 Message-ID: <2hl6151da28m4e9ur1h6l7rn5mckg0fut3@4ax.com> References: <4A12A466.3020202@bah.homeip.net> In-Reply-To: <4A12A466.3020202@bah.homeip.net> X-Mailer: Forte Agent 4.2/32.1118 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: freebsd-questions@freebsd.org Subject: Re: Geom_eli problems 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, 20 May 2009 01:06:27 -0000 On Tue, 19 May 2009 14:21:58 +0200, in sentex.lists.freebsd.questions you wrote: >Hello list. > >I'm running this; > >FreeBSD 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009= =20 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > >and I'm trying to encrypt my usb memory with geli. > >But it does not work according to the handbook or this homepage >http://cb.vu/unixtoolbox.xhtml#cryptpart > >This works > >geli init -s 4096 -l 256 /dev/da0 >Enter new passphrase: >Reenter new passphrase: Hi, Try with the key example from the manpage dd if=3D/dev/random of=3D/tmp/disk.key bs=3D64 count=3D1 geli init -s 4096 -K /tmp/disk.key /dev/da0 Enter new passphrase: Reenter new passphrase: # geli attach -k /tmp/disk.key /dev/da0 Enter passphrase: # newfs /dev/da0.eli # mount /dev/da0.eli /mnt ... # umount /mnt # geli detach da0.eli ---Mike