zfsrogue/zfs-crypto — pull request #7 by lundman (2012-11-22 09:02:48+00:00)
Title: Dealing with ZVOL, part 1

The way Solaris appears to set properties appears to be delayed, after
creation (maybe on volsize change?). Linux is now doing things differently,
the encryption property is set from libzfs, and passed along to ioctl.
This means libzfs now sets "aes-128-ctr" if ZVOL and crypt=on, and
ioctl allow for this cipher. (side effect, users could set CTR on normal
filesystems. Add test to stop this).

This now enabled crypt ZVOL. However, it will panic on import, so use
zpool import -N, and zfs key to load the key first.