From 4c15152a05dac8a498d3a9bbf78a0af0c8f7c213 Mon Sep 17 00:00:00 2001 From: Ethan Turkeltaub Date: Tue, 18 Aug 2026 22:25:08 -0400 Subject: [PATCH] Migrate `blockbuster` ZFS pool to `raidz2` --- hosts/omnibus/configuration.nix | 7 ++++++- hosts/omnibus/disk-config.nix | 9 ++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/hosts/omnibus/configuration.nix b/hosts/omnibus/configuration.nix index ba38c1c..8494a42 100644 --- a/hosts/omnibus/configuration.nix +++ b/hosts/omnibus/configuration.nix @@ -122,7 +122,12 @@ }; }; - environment.systemPackages = with pkgs; [ yt-dlp ]; + environment.systemPackages = with pkgs; [ + yt-dlp + mbuffer + pv + util-linux + ]; services.restic.backups.files-rsync-net = { initialize = true; diff --git a/hosts/omnibus/disk-config.nix b/hosts/omnibus/disk-config.nix index 2f88ca2..37281e9 100644 --- a/hosts/omnibus/disk-config.nix +++ b/hosts/omnibus/disk-config.nix @@ -207,10 +207,12 @@ in blockbuster = { type = "zpool"; + mode = "raidz2"; options = { ashift = "12"; autotrim = "on"; + autoexpand = "on"; }; rootFsOptions = { @@ -218,14 +220,14 @@ in compression = "lz4"; dnodesize = "auto"; normalization = "formD"; - relatime = "on"; + atime = "off"; xattr = "sa"; mountpoint = "none"; }; postCreateHook = '' - zpool add -f blockbuster log ${disks.nvme0} - zpool add -f blockbuster cache ${disks.nvme1} + # zpool add -f blockbuster log ${disks.nvme0} + # zpool add -f blockbuster cache ${disks.nvme1} ''; datasets = { @@ -244,6 +246,7 @@ in options = { canmount = "on"; mountpoint = "legacy"; + recordsize = "1M"; }; };