bind_mounts_with_zfs

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


bind_mounts_with_zfs [13.06.2018 20:37] (current) – created Pascal Suter
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: 
  
 +<code>
 +/data/home /home none bind,x-systemd.requires=zfs-mount.service 0 0
 +</code>
  • bind_mounts_with_zfs.txt
  • Last modified: 13.06.2018 20:37
  • by Pascal Suter