automatically mount zfsonlinux file systems during startup

Change /etc/default/zfs:

# Automatically run `zfs mount -a` at system startup if set non-empty.
ZFS_MOUNT='yes'

# Automatically run `zfs unmount -a` at system shutdown if set non-empty.
ZFS_UNMOUNT='yes'

Add zfs-mount to runlevels:

update-rc.d zfs-mount defaults

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>