summaryrefslogtreecommitdiff
path: root/roles/kubernetes/base/tasks/zfs.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/kubernetes/base/tasks/zfs.yml')
-rw-r--r--roles/kubernetes/base/tasks/zfs.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/kubernetes/base/tasks/zfs.yml b/roles/kubernetes/base/tasks/zfs.yml
index 4311dd3f..c417a1b6 100644
--- a/roles/kubernetes/base/tasks/zfs.yml
+++ b/roles/kubernetes/base/tasks/zfs.yml
@@ -13,3 +13,9 @@
fstype: none
opts: bind,x-systemd.automount,nofail
state: mounted
+
+## TODO:
+## there is a race condition between the bind mound and the zfs-mount which is invisible to systemd.
+## It seems ZFSonLinux 8 and beyond have a systemd-generator to fix this problem. Sadly Debain Buster and Ubuntu Bionic contain
+## ZFSOnLinux 7 - so let's try the folllowing for a possible workaround:
+## https://askubuntu.com/questions/988968/which-zfs-command-systemd-unit-to-depend-on-to-ensure-that-a-mountpoint-is-avail