I'm trying to migrate my old mdarray
/home to zfs.
I've created a zpool mirror on the drives that where previously
I've mounted it to
/home and copied the old
/home/user folder into it.
root@computer:~# zfs list NAME USED AVAIL REFER MOUNTPOINT homepool 63,7M 1,76T 61,6M /home homepool/user 1,73M 1,76T 1,64M /home/user homepool/user/old 96K 1,76T 96K /home/user/old
I've set up two sub-partitions as above, to be able to have different zfs settings for different data, but this is conflicting with how ubuntu encrypted home works.
root@computer:~# ls /home/user Access-Your-Private-Data.desktop old README.txt
Is zfs on encrypted subfolders a complete no-go?
Is the zfs properties on
homepool/userapplied at all after ecryptfs is mounted on that name?
I rearranged the partitioning like so:
root@computer:~# zfs list NAME USED AVAIL REFER MOUNTPOINT homepool 254G 1,51T 1,66M /home homepool/.ecryptfs 254G 1,51T 254G /home/.ecryptfs
It feels like it would atleast work.
Are there any recommendations for how to do encrypted home and zfs in ubuntu at this time? Maybe normal luks disk encryption on the drives and zfs on the encrypted volumes make more sense?