From 0aaa23397e6b127fc2cb048107ec714ba1903be1 Mon Sep 17 00:00:00 2001 From: FrostKiwi <60887273+FrostKiwi@users.noreply.github.com> Date: Tue, 7 Feb 2023 15:14:30 +0900 Subject: [PATCH] Remove instruction to block disk cache By my understanding, unnecessary due to unmounting at the end of the instruction. Has lead to unstable and error-spewing ZFS setups, as discussed in this issue: https://github.com/NixOS/nixpkgs/issues/214871 --- .../NixOS/Root on ZFS/3-system-configuration.rst | 8 -------- 1 file changed, 8 deletions(-) diff --git a/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst b/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst index 72fce35..e696390 100644 --- a/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst +++ b/docs/Getting Started/NixOS/Root on ZFS/3-system-configuration.rst @@ -6,14 +6,6 @@ System Configuration .. contents:: Table of Contents :local: -#. Disable cache, stale cache will prevent system from booting:: - - mkdir -p /mnt/etc/zfs/ - rm -f /mnt/etc/zfs/zpool.cache - touch /mnt/etc/zfs/zpool.cache - chmod a-w /mnt/etc/zfs/zpool.cache - chattr +i /mnt/etc/zfs/zpool.cache - #. Generate initial system configuration:: nixos-generate-config --root /mnt