Skip to content

Commit 79add96

Browse files
rlaagerbehlendorf
authored andcommitted
Order zfs-import-*.service after multipathd
If someone is using both multipathd and ZFS, they are probably using them together. Ordering the zpool imports after multipathd is ready fixes import issues for multipath configurations. Tested-by: Mike Pastore <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Richard Laager <[email protected]> Closes #9863
1 parent 5206b82 commit 79add96

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

etc/systemd/system/zfs-import-cache.service.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ DefaultDependencies=no
55
Requires=systemd-udev-settle.service
66
After=systemd-udev-settle.service
77
After=cryptsetup.target
8+
After=multipathd.target
89
After=systemd-remount-fs.service
910
Before=zfs-import.target
1011
ConditionPathExists=@sysconfdir@/zfs/zpool.cache

etc/systemd/system/zfs-import-scan.service.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ DefaultDependencies=no
55
Requires=systemd-udev-settle.service
66
After=systemd-udev-settle.service
77
After=cryptsetup.target
8+
After=multipathd.target
89
Before=zfs-import.target
910
ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
1011

0 commit comments

Comments
 (0)