[zfs-discuss] Luks Encrypted Cache drive

Thomas Joy twjoy333 at gmail.com
Tue Sep 22 22:14:29 EDT 2015

This might be due to bad detection of cache vdevs by blkid. A patch to
blkid has been merged, but I don't know if it will ever make it to Ubuntu

I posted a dirty, bad, naughty, unsafe workaround at

The workaround involves dd'ing part of an ext2 image over the beginning of
your cache vdev, corresponding with an unused portion of the zfs label.

You may be better off forcing the patched blkid into your initramfs, but I
have 0 data loss with the ext2 bodge.

On Tue, Sep 22, 2015 at 7:56 PM, Jonasz, Randall via zfs-discuss <
zfs-discuss at list.zfsonlinux.org> wrote:

> Hi Everyone,
> I was wondering if it's possible to encrypt with cryptsetup on Ubuntu
> 14.04 an ssd cache drive for a zfs pool?  I've tried but mountall on
> boot complains about bad password unknown fstype or option.  Once booted
> I can open the drive and manually add it to the pool.  But not at boot.
> Thanks!
> Randy
> P.S.  I'm running zfs
> --
> Randy Jonasz
> Java Developer
> Department of Family Medicine
> McMaster University
> David Braley Health Sciences Centre
> 100 Main Street West, 5th Floor
> Hamilton, ON    L8P 1H6
> T: 905.525.9140 ext. 27735
> W: fhs.mcmaster.ca/fammed
> Twitter: @McMasterFammed
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20150922/7ee8cdf9/attachment.html>

More information about the zfs-discuss mailing list