From owner-freebsd-geom@FreeBSD.ORG Tue Sep 20 16:42:09 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D2F116A41F for ; Tue, 20 Sep 2005 16:42:09 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (I8a04.i.pppool.de [85.73.138.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A6C1F43D45 for ; Tue, 20 Sep 2005 16:42:07 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id BC9D4119CBB for ; Tue, 20 Sep 2005 18:42:12 +0200 (CEST) Received: from abakus.agala.net (abakus.agala.net [192.168.223.2]) by mail.agala.net (Postfix) with ESMTP id A5C8B119CB8 for ; Tue, 20 Sep 2005 18:42:11 +0200 (CEST) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-geom@freebsd.org Date: Tue, 20 Sep 2005 18:41:47 +0200 User-Agent: KMail/1.8.2 References: <200509201734.00353.frank@barda.agala.net> <4330328C.6070109@centtech.com> In-Reply-To: <4330328C.6070109@centtech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200509201841.52329.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Tue Sep 20 18:42:15 2005 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 218,43303be6804552171715342 X-DSPAM-Factors: 27, Organization*naga+doron, 0.40000, Message-Id*agala+net, 0.40000, From*Frank, 0.40000, Subject*encrypted, 0.40000, Content-Type*text+plain, 0.40000, Content-Disposition*inline, 0.40000, References*barda+agala, 0.40000, > References*com, 0.40000, Content-Type*charset+iso, 0.40000, References*frank+barda, 0.40000, Date*Tue+Sep, 0.40000, Subject: Re: geli encrypted memory disk? 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: Tue, 20 Sep 2005 16:42:09 -0000 Moin, am Dienstag, 20. September 2005 18:02 schrieb Eric Anderson: > Frank J. Beckmann wrote: > > after upgrading to FreeBSD 6.0-BETA4 from the 17th I wanted to play a bit > > with geli. First try was an encryptet memory disk. > > > > dd if=/dev/zero of=/var/sdisk bs=2028 count=220 > > mdconfig -a -t vnode -S 2048 -f /var/sdisk -u 3 > > geli init -a AES -s 2048 /dev/md3 > > > > Geli asks me the new password twice and then exits with the following > > error: > > > > Cannot store metadata on /dev/md3: Invalid argument. > > > > What am I doing wrong? > > Probably the bs=2028 is messing things up? Oh, yes, that was it. I always looked at mdconfig and geli only. Thank you very much. -- Frank