From 30a5c5c2801d22276b3a83762f6f47e27f0aba32 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Mon, 28 Oct 2019 13:27:17 -0400 Subject: [PATCH] created a pool on 003 --- morph/storage003-hardware.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/morph/storage003-hardware.nix b/morph/storage003-hardware.nix index f993c7c6..607943b1 100644 --- a/morph/storage003-hardware.nix +++ b/morph/storage003-hardware.nix @@ -8,7 +8,7 @@ [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> ]; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "megaraid_sas" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -23,6 +23,13 @@ fsType = "ext4"; }; + # Manually created using: + # zpool create -f -m legacy -o ashift=12 root raidz /dev/disk/by-id/{wwn-0x5000cca249d43969,wwn-0x5000cca248dd1f83,wwn-0x5000cca249d44a67,wwn-0x5000cca249d46730,wwn-0x5000cca25dcc719c,wwn-0x5000cca25dcc0241,wwn-0x5000cca24ac2b2df} + fileSystems."/storage" = + { device = "root"; + fsType = "zfs"; + }; + swapDevices = [ ]; nix.maxJobs = lib.mkDefault 24; -- GitLab