Re: geom_eli stability

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Wed, 26 Oct 2005 11:21:37 +0200
On Tue, Oct 25, 2005 at 11:31:31PM +0300, McLone wrote:
+> While suffering from paranoya attack lately, i wanted to
+> encrypt my / and /usr, so i read geli(8) and done this:
+> > newfs /dev/ad3s1a  # for unencrypted kernel
+> > geli init -b -l 256 -s 2048 /dev/ad3s1d
+> > geli attach /dev/ad3s1d; newfs -U /dev/ad3s1d.eli
+> > mount /dev/ad3s1d.eli /mnt/new; mkdir /mnt/new/usr
+> > echo "so_m3 d_at_.Ta" | md5 | cut -c -23 > /mnt/new/the.key
+> > cp /mnt/new/the.key /  # dunno if it's needed, just guess
+> > geli init -K /the.key -s 4096 /dev/ad3s1e
+> > geli attach -k /the.key /dev/ad3s1e; newfs -U /dev/ad3s1e.eli
+> > mount /dev/ad3s1e.eli /mnt/new/usr
+> > cd /usr/src && setenv DESTDIR /mnt/new
+> > make installworld
+> 
+> it panicks here (latest RELENG_6) with vm_?.
+> Is it known problem, or i should put debug on it and
+> post exact panic here?

There are no problems in geli(8) that I'm aware of, so more debug will
be helpful.

+> p.s. May be sector sizes i fed geli with are bizarre too?

Should be fine and I advice to use bigger sector for better performance.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd_at_FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Wed Oct 26 2005 - 07:21:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC