Created
December 22, 2015 19:51
-
-
Save unicolet/e6cf5097eff6f9ce9392 to your computer and use it in GitHub Desktop.
How to automatically import a ZFS pool built on top of iSCSI devices with systemd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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