Add zfs cache config
This commit is contained in:
parent
191be295d1
commit
95b92c232e
1 changed files with 6 additions and 0 deletions
|
|
@ -26,6 +26,12 @@
|
||||||
boot.zfs.forceImportRoot = false;
|
boot.zfs.forceImportRoot = false;
|
||||||
boot.zfs.extraPools = [ "cache" ]; # Auto-import additional pools
|
boot.zfs.extraPools = [ "cache" ]; # Auto-import additional pools
|
||||||
|
|
||||||
|
# ZFS ARC memory configuration for 32GB system
|
||||||
|
boot.kernelParams = [
|
||||||
|
"zfs.zfs_arc_max=17179869184" # 16GB max ARC size
|
||||||
|
"zfs.zfs_arc_min=2147483648" # 2GB min ARC size
|
||||||
|
];
|
||||||
|
|
||||||
# XFS drive mounts
|
# XFS drive mounts
|
||||||
fileSystems."/mnt/wd-12t-1" = {
|
fileSystems."/mnt/wd-12t-1" = {
|
||||||
device = "/dev/disk/by-id/ata-HGST_HUH721212ALE604_5PK2N4GB-part1";
|
device = "/dev/disk/by-id/ata-HGST_HUH721212ALE604_5PK2N4GB-part1";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue