Encrypted slice with geli
keramida at ceid.upatras.gr
Mon Apr 20 21:59:49 UTC 2009
On Mon, 20 Apr 2009 21:38:54 +0200, Bernt Hansson <bernt at bah.homeip.net> wrote:
> Hello list!
> I was thinking of makeing a slice encrypted with geli.
> My question is: does geli init -s 4096 /dev/ad* erase the data on the
> slice. The handbook didn't say yes or no, and I don't want to try
> without asking.
No, but if you plan to use geli to encrypt data that will end up on the
slice it may be a useful thing to:
a) keep a backup copy of the data in its unencrypted form
b) overwrite the entire partition with random bytes (increased entropy
means that it is harder to 'attack' the final encrypted data stream
when geli starts writing over parts of the encrypted slice)
c) attach the randomized partition with geli
d) newfs the xxx.eli device
More information about the freebsd-questions