summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Magnusson <mathias@magnusson.space>2025-12-29 19:16:12 +0100
committerMathias Magnusson <mathias@magnusson.space>2025-12-29 19:16:12 +0100
commitecffe68300a3f8dc7c9f040f10cdb4b4119eb51e (patch)
tree5307881410dd3c8f9056dd9c5b11af301e2cd6d0
parent0fb7d2b408efe025f84b20bd524c077c88271aff (diff)
downloadoden-ecffe68300a3f8dc7c9f040f10cdb4b4119eb51e.tar.gz
finally fix zfs mounting failing
which suspended boot so that was fun
-rw-r--r--disko.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/disko.nix b/disko.nix
index dd5bb26..469019e 100644
--- a/disko.nix
+++ b/disko.nix
@@ -74,6 +74,10 @@
zpool.draupner = {
type = "zpool";
rootFsOptions = {
+ # I _think_ that this makes some zfs thingie not mount the pool, but systemd still mounts
+ # it. Before this, mounting failed with "mountpoint or dataset busy", possibly because both
+ # zfs and systemd tried to mount it.
+ canmount = "off";
compression = "lz4";
atime = "off";
acltype = "posixacl";