[GH-ISSUE #9] systemd? #9

Closed
opened 2026-05-05 03:28:21 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @dmaziuk on GitHub (May 12, 2017).
Original GitHub issue: https://github.com/ewwhite/zfs-ha/issues/9

very nice write-up, thank you very much.

It might be worth spelling out that with (default install on centos 7.3 after the dependencies fix):

zfs.target
● ├─zfs-import-cache.service
● ├─zfs-mount.service
● ├─zfs-share.service
● └─zfs-zed.service

as long as you don't make a cache file, zed will start but no pools will be imported and nothing gets mounted or shared. But if the target include zfs-import-scan.service, things will break. (I assume -- I haven't tried.)

Originally created by @dmaziuk on GitHub (May 12, 2017). Original GitHub issue: https://github.com/ewwhite/zfs-ha/issues/9 very nice write-up, thank you very much. It might be worth spelling out that with (default install on centos 7.3 after the dependencies fix): ``` zfs.target ● ├─zfs-import-cache.service ● ├─zfs-mount.service ● ├─zfs-share.service ● └─zfs-zed.service ``` as long as you don't make a cache file, `zed` will start but no pools will be imported and nothing gets mounted or shared. But if the target include `zfs-import-scan.service`, things will break. (I assume -- I haven't tried.)
Author
Owner

@ewwhite commented on GitHub (Aug 29, 2017):

Thank you. I'll update to reflect that.

Should be something like:

systemctl preset zfs-import-cache zfs-import-scan zfs-mount zfs-share zfs-zed zfs.target

<!-- gh-comment-id:325770691 --> @ewwhite commented on GitHub (Aug 29, 2017): Thank you. I'll update to reflect that. Should be something like: `systemctl preset zfs-import-cache zfs-import-scan zfs-mount zfs-share zfs-zed zfs.target`
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/zfs-ha#9
No description provided.