summary refs log tree commit diff
path: root/gnu/build
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/file-systems.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/build/file-systems.scm b/gnu/build/file-systems.scm
index 2a4dcd4c82..d8a5ddf1e5 100644
--- a/gnu/build/file-systems.scm
+++ b/gnu/build/file-systems.scm
@@ -336,7 +336,10 @@ fix only those considered safe to repair automatically."
                                    ;; Upstream considers ALL repairs dangerous
                                    ;; and will warn the user at run time.
                                    (#t '("--repair"))
-                                   (_  '("--readonly"))) ; a no-op for clarity
+                                   (_  '("--readonly" ; a no-op for clarity
+                                         ;; A 466G file system with 180G used is
+                                         ;; enough to kill btrfs with 6G of RAM.
+                                         "--mode" "lowmem")))
                                ,device)))
         (0 'pass)
         (_ 'fatal-error))