Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Sunday June 25 2017, @03:23AM   Printer-friendly
from the rot13++ dept.

A blog has a walkthrough of using ZFS encryption on Linux:

In order to have a simple way to play with the new features of ZFS, it makes sense to have a safe "sandbox". You can pick an old computer, but in my case I decide to use a VM. It is tempting to use docker, but it won't work because we need a special kernel module to be able to use the zfs tools.

For the setup, I've decide to use VirtualBox and Archlinux, since those are a few tools that I'm more familiar with. And modifying the zfs-dkms package to build from the branch that hosts the encryption PR is really simple.

[...] Finally we are able to enjoy encryption in zfs natively in linux. This is a feature that was long due. The good thing is that this new implementation improved a few of the problems that the original one had, especially around key management. It is not binary compatible, which is fine in most cases and still not ready to be used in production, but so far I really like what I see.

If you want to follow progress, you can watch the current PR in the official git repo of the project. If everything keeps going ok, I would hope this feature to land in version 0.7.1


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 1, Interesting) by Anonymous Coward on Sunday June 25 2017, @05:06PM (1 child)

    by Anonymous Coward on Sunday June 25 2017, @05:06PM (#530907)

    You think 64GB on the host is required just for ZFS and encryption?? What kind of crack are you on??

    Do your own tests. Leave deduplication OFF and run Linux+ZFS zRAID10 with compression=lz4 + the new encryption and let us know how that works out.

    Starting Score:    0  points
    Moderation   +1  
       Interesting=1, Total=1
    Extra 'Interesting' Modifier   0  

    Total Score:   1  
  • (Score: 2) by jasassin on Sunday June 25 2017, @06:32PM

    by jasassin (3566) <jasassin@gmail.com> on Sunday June 25 2017, @06:32PM (#530923) Homepage Journal

    You think 64GB on the host is required just for ZFS and encryption?? What kind of crack are you on??
    Do your own tests. Leave deduplication OFF and run Linux+ZFS zRAID10 with compression=lz4 + the new encryption and let us know how that works out.

    My last test was a few years ago using FreeBSD on bare metal with 2GB of RAM. The performance was so terrible after a day or two I switched back to Linux with the extended filesystem. Before I switched back I went into the FreeBSD channel and asked about the performance I was experiencing, and when they heard I was trying to use ZFS on a system with 2GB of RAM I was basically laughed out of the IRC channel. They didn't even bother mentioning deduplication, I'll have to research that.

    P.S. I don't smoke crack.

    --
    jasassin@gmail.com GPG Key ID: 0xE6462C68A9A3DB5A