Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to automatically import a ZFS pool built on top of iSCSI devices with systemd
[Unit]
After=dev-disk-by\x2did-wwn\x2d0x60014057ab42867d066fd393edb4abd6.device
[Service]
ExecStart=/usr/sbin/zpool import itank
ExecStartPost=/usr/bin/logger "started ZFS pool itank"
[Install]
WantedBy=dev-disk-by\x2did-wwn\x2d0x60014057ab42867d066fd393edb4abd6.device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.