This shows you the differences between two versions of the page.
bind_mounts_with_zfs [13.06.2018 20:37] (current)
Pascal Suter created
|Line 1:||Line 1:|
|+||====== bind mounts with zfs on linux ======|
|+||Zfs on Linux does not mount via ''/etc/fstab'' and and therefore usually mounts later in the bood process than when the fstab is processed. This is a problem when one wants to use bind-mounts (mout a directory within an fstab volume to somewhere else in the directory tree as well). With systems using ''systemd'' to launch services on boot up, there is a simple solution how we can keep on using fstab with bind mounts for zfs:|
|+||/data/home /home none bind,x-systemd.requires=zfs-mount.service 0 0|