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
This commit is contained in:
committed by
George Melikov
parent
e08d869fed
commit
0aaa23397e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user