Re: disk encryption with geli

2009-07-24 Thread Bill Moran
In response to Stefan Miklosovic miklosovic.free...@gmail.com:

 hi all
 
 i am going to encrypt my /home directory
 which is mounted in /etc/fstab like
 
 /dev/ad0s2f /home   ufs rw,noatime
 2   2
 
 I did like is wrote in
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
 everything looks good. ad0s2f.eli appears in /dev and so on. I can mount it,
 umount and so.
 
 but after reboot, I am dropped to single user mode because of en error
 message which says that
 there is an inconsistency at /dev/ad0s2f
 
 do i have to encrypt whole ad0 or it is possible to encrypt only my /home?

You can do what you're attempting, I'm doing it in several places without
problem.

I suspect that you have the startup config wrong in /etc/rc.conf or in
/etc/fstab.  Make sure you're mounting the encrypted partition in
/etc/fstab (i.e. /dev/ad0s2f.eli and not /dev/ad0s2f) and make sure
you have all the geli startup config in /etc/rc.conf per the document
you referenced.

If that's not enough to help you, please provide your /etc/rc.conf, and
/etc/fstab, along with copy/paste of the exact error message you're
seeing.

-- 
Bill Moran
http://www.potentialtech.com
http://people.collaborativefusion.com/~wmoran/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: disk encryption with geli

2009-07-24 Thread RW
On Fri, 24 Jul 2009 17:17:49 +0200
Stefan Miklosovic miklosovic.free...@gmail.com wrote:

 hi all
 
 i am going to encrypt my /home directory
 which is mounted in /etc/fstab like
 
 /dev/ad0s2f /home   ufs rw,noatime

I think that should be /dev/ad0s2f.eli in fstab.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org