This website requires JavaScript.
Explore
Help
Sign In
c
/
mirror_zfs
Watch
1
Star
0
Fork
0
You've already forked mirror_zfs
mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced
2024-11-18 10:21:01 +03:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
d64dd3b62a
mirror_zfs
/
etc
/
systemd
/
system
/
zfs-import.target.in
7 lines
101 B
SYSTEMD
Raw
Normal View
History
Unescape
Escape
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 23:18:26 +03:00
[Unit]
Description
=
ZFS pool import target
Cleanup systemd dependencies Some redundancy is present in the systemd dependencies, as noticed in PR#6764. Existing setups might rely on these quirks, so these cleanups have been moved to the development branch. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com> Closes #6822
2017-11-08 20:39:15 +03:00
Before
=
dracut-mount.service
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 23:18:26 +03:00
[Install]
WantedBy
=
zfs.target
Reference in New Issue
Copy Permalink