automatically import zpools and mount zfs filesystems #104

wants to merge 5 commits into


None yet

2 participants


This is a first attempt at some zfs automation.

zpool-import.service will attempt to import all of the (healthy) pools it finds from scanning /dev.
zfs-mount.service will mount all of the zfs filesystems.

The zfs-mount.service seems to be the right compromise between having to call zfs mount to mount a zfs filesystem (instead of just mount), and fitting in with the systemd

Tested in a initrd - luks setup with an ext4 /, and a zfs /home.

@Phreedom Phreedom was assigned May 4, 2013
Phreedom commented May 5, 2013

You seem to like messy branches :) Committed this as d6df272 with a minor cleanup.

@Phreedom Phreedom closed this May 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment