Skip to content

Commit

Permalink
import with -d /dev/disk/by-id in scan service
Browse files Browse the repository at this point in the history
Signed-off-by: Fabian Grünbichler <[email protected]>
Signed-off-by: Stoiko Ivanov <[email protected]>
Signed-off-by: Thomas Lamprecht <[email protected]>
  • Loading branch information
Fabian-Gruenbichler authored and root committed Jan 2, 2020
1 parent 655ad8c commit d9159c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/systemd/system/zfs-import-scan.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ ConditionPathExists=!@sysconfdir@/zfs/zpool.cache
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@sbindir@/zpool import -aN -o cachefile=none
ExecStart=@sbindir@/zpool import -aN -d /dev/disk/by-id -o cachefile=none

[Install]
WantedBy=zfs-import.target

0 comments on commit d9159c9

Please sign in to comment.