Datasets encryption

Status
Not open for further replies.

giom

Cadet
Joined
Aug 7, 2013
Messages
1
Hi,

I'm setting up a hp proliant microserver n54l with freenas with 4 hard disks in raidz 1 (I know it's not ideal but I can't afford a 5th hard disk right now)... Since there's no native aes-ni support, the full disk encryption would be too slow so I have not setup full disk encryption.

However, I do have some sensitive data and wanted to encrypt some datasets. I understand that right now it's not possible because oracle hasn't opensourced zfs v30 which offers encryption. So I'm looking for alternatives...

If it were linux, I'd just create a loopback device and encrypt that device, it would cause some loss of performance (by having a separate filesystem inside a file) and reliability but would work. What would you recommend in Freebsd?

Is there a way for me to estimate the speed I'd get if I did use full disk encryption instead? And how much slower it would be compared to without?

I did some test following a post from cyberjock: http://forums.freenas.org/threads/encryption-performance-benchmarks.12157/

$ dd if=/dev/gzero.eli of=/dev/null bs=1m count=4096
4096+0 records in
4096+0 records out
4294967296 bytes transferred in 79.109020 secs (54291752 bytes/sec)

Thanks
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Encryption of datasets is not supported with FreeNAS. FreeNAS uses whole disk encpryption, which is a higher layer than the dataset.

The best alternative I can think of is to use something like Truecrypt and create a container file on your network share. Then your data will be encrypted on the server and you have the advantage of the encryption/decryption being handled on your desktop.
 

Stephen Neal

Cadet
Joined
Feb 25, 2014
Messages
3
Hi,

I have a HP Proliant G7 N54L 2.2GHz MicroServer and require some help with disk configuration.

FreeNAS-9.2.1.1-RELEASE-x86 (0da7233) insstalled with four 250GB hard drives all being read in the BIOS and available when installing the FREEnas OS.

When logging onto the config page only three HD's are availble and the USB stick.

Attached is a screenshot of the drives available to me.

Can anybody help?

Sorry i've added you guys because I can't find out hot to post!

Cheers

Steve
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Sure, I'll help you. I take paypal. ;)
 

Stephen Neal

Cadet
Joined
Feb 25, 2014
Messages
3
Its ok I figured it out! The 250GB disk that came with the HP Proliant server isn't compatible with FREENas the other drive I have are.

Hahaha PayPal very good!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526

phier

Patron
Joined
Dec 4, 2012
Messages
400
hi,
is there any update? still no possibility for encryption within dataset?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
hi,
is there any update? still no possibility for encryption within dataset?

Not unless that feature is added to OpenZFS. AFAIK there isn't the intention of adding this. But this is a question best asked (and answered by) people in the OpenZFS project since they would have to add support.
 

phier

Patron
Joined
Dec 4, 2012
Messages
400
Not unless that feature is added to OpenZFS. AFAIK there isn't the intention of adding this. But this is a question best asked (and answered by) people in the OpenZFS project since they would have to add support.

in that case is it possible to install something as encFS inside freenas?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Not really.
 

phier

Patron
Joined
Dec 4, 2012
Messages
400
ok so what about installing jail and inside the jail - fusefs-encfs ... so then its same thing as on a linux with encfs?
 

phier

Patron
Joined
Dec 4, 2012
Messages
400
well i tried PEFS also but looks line noone of this solution works... both requires to load modules into kernel... which is forbiden inside jail....

last idea ... to install linux in virtual box ... to export dataset via nfs into linux and do this encfs/ inside the linux box... ?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
No idea. I don't deal with linux.
 

styno

Patron
Joined
Apr 11, 2016
Messages
466
It is not clear what you exactly want to achieve and how many concurrent connections you'll have, but if you are going to mount and crypt it on another server then why don't you do all of that directly on the client?
 

EsTaF

Contributor
Joined
Sep 20, 2013
Messages
163
A truecrypt/veracrypt is container. This is not an encryption method over fs.
You can't share that one for several samba user computers, and the encfs/pefs can.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
A truecrypt/veracrypt is container. This is not an encryption method over fs.
You can't share that one for several samba user computers, and the encfs/pefs can.
That's a moot point with native ZFS encryption coming soon.
 
Status
Not open for further replies.
Top