zfs/etc/systemd/system
Antonio Russo 5c2552c564 systemd zfs-import.target and documentation
zfs-import-{cache,scan}.service must complete before any mounting of
filesystems can occur. To simplify this dependency, create a target
that is reached After (in the systemd sense) the pool is imported.

Additionally, recommend that legacy zfs mounts use the option

x-systemd.requires=zfs-import.target

to codify this requirement.

Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes #6764
2017-10-30 13:18:26 -07:00
..
.gitignore Add systemd unit files for ZFS startup 2014-02-05 12:25:30 -08:00
50-zfs.preset.in Systemd configuration fixes 2016-05-27 11:54:29 -07:00
Makefile.am systemd zfs-import.target and documentation 2017-10-30 13:18:26 -07:00
zfs-import-cache.service.in systemd zfs-import.target and documentation 2017-10-30 13:18:26 -07:00
zfs-import-scan.service.in systemd zfs-import.target and documentation 2017-10-30 13:18:26 -07:00
zfs-import.target.in systemd zfs-import.target and documentation 2017-10-30 13:18:26 -07:00
zfs-mount.service.in systemd zfs-import.target and documentation 2017-10-30 13:18:26 -07:00
zfs-share.service.in Add man page reference to systemd units 2017-09-05 13:50:35 -07:00
zfs-zed.service.in Systemd configuration fixes 2016-05-27 11:54:29 -07:00
zfs.target.in Systemd configuration fixes 2016-05-27 11:54:29 -07:00