This is my first foray into ZFS and I thought I’d give Antergos a try as it works with it out the box (My go-to distro: Solus, does not / will not ).
During install you only get the option to build a single ZFS pool, the one you are installing to and even if you check: “create /home on another partition” it seemingly does nothing for the ZFS install route
So now I’ve got my root pool set up, booted in and set up my data pool… But I want to move /home onto my 4TB data pool (as I’m just feeling out ZFS at the moment and my root is a tiny 64GB SSD)
Set the existing home directory to legacy mount: zfs set mountpoint=legacy root/home. zfsThis may unmount it automatically but if not: zfs unmount root/home. Just to be really cautious, you could also make it read-only: zfs set readonly=on root/home.
Mount the old home somewhere else: mount -t zfs root/home /mnt
Make the new home: zfs create data/home; zfs set mountpoint=/home data/home; zfs set compress=on data/home
Use rsync to copy the stuff across (it’s kind of nice to preserve ctimes and the like): cd /mnt; rsync -arv * /home (I can never remember whether you need a trailing slash or not).