Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2005 22:04:21 +0200
From:      "Frank J. Beckmann" <frank@barda.agala.net>
To:        freebsd-geom@freebsd.org
Subject:   Re: geli encrypted memory disk?
Message-ID:  <200509232204.23606.frank@barda.agala.net>
In-Reply-To: <20050921213630.GA1167@garage.freebsd.pl>
References:  <200509201734.00353.frank@barda.agala.net> <20050921213630.GA1167@garage.freebsd.pl>

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

am Mittwoch, 21. September 2005 23:41 schrieb Pawel Jakub Dawidek:
> On Tue, Sep 20, 2005 at 05:33:57PM +0200, 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?
>
> You used 2028 block size with dd(1), you probably wanted to use 2048.

Yes, that was my fault, like Eric pointed out. It works now. I wanted to use 
2048, but I didn't see my typo. 

Now I could create a geli encryptet DVD. I create a file backed memory disk. 
Then I create an ISO image. I put the image on the memory disk, then I burn 
the file on the DVD. Now I can attach the DVD and the ISO file system is on 
the attached device.
-- 
Bye
Frank



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