Skip to content

Instantly share code, notes, and snippets.

@wellington1993
Last active May 18, 2018 12:31
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save wellington1993/aaefb8ae45f45c3af5b1daea88976880 to your computer and use it in GitHub Desktop.
Auto mount ZFS
systemctl enable zfs-mount.service
systemctl enable zfs-import-cache.service
systemctl enable zfs-import-scan.service
#And
#You need to edit the file /etc/default/zfs with your favourite editor, eg: nano, vim or something else, and change the lines
#ZFS_MOUNT='no'
#ZFS_UNMOUNT='no'
#to
#ZFS_MOUNT='yes'
#ZFS_UNMOUNT='yes'