I've completed the instructions on https://github.com/zfsonlinux/zfs/wiki/Ubuntu-16.04-Root-on-ZFS
Everything works great. I have two drives in a mirror zpool. I do have a few questions as I'm not that fluent in zfs.
How do I snapshot recursively all file systems and bundle / send that (to an external drive)? My fuzziness:
$ zfs -r rpool@someidentifierfornow # create recur. snapshots $ zfs send (what goes here?) | gzip > backupfile.gz
Maybe the second command can be automated with a call to zfs list?
How do I restore / rollback the root file system from a snapshot? Can I do that with the file system mounted (is that the right word for zfs pools?) or do I have to do a live image on CD/USB?
I followed the instructions for UEFI boot section 5.5b in the walkthrough (which was interesting as my first experience with UEFI),
# grub-install --target=x86_64-efi --efi-directory=/boot/efi \ --bootloader-id=ubuntu --recheck --no-floppy
Can I put a grub on each mirror drive for UEFI? There is a note about this in section 5.5a for the legacy MBR method. GRUB only works for one drive (tested by booting with power on both drives individually.)
Actually, this looks like the correct answer, and will try it tomorrow:
Re-initialise GRUB for non-bootable UEFI zfs 16.04 installation
Similar question, but not a mirror configuration and references out of date material:
Thank you for taking the time to read (and maybe respond)! :)