automatically import zpools and mount zfs filesystems #104

Closed
wants to merge 5 commits into
from

Projects

None yet

2 participants

@jcumming

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 local-fs.target

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

@Phreedom Phreedom was assigned May 4, 2013
@Phreedom
Member
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