From b1a0b9bc6c050eba8edeccb4ce79f065ac5e620b Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Wed, 6 Nov 2019 08:40:07 -0500
Subject: [PATCH] Add the zfs filesystem to the storage002 configuration

---
 morph/storage002-hardware.nix | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/morph/storage002-hardware.nix b/morph/storage002-hardware.nix
index fe2b783f..ab284ba9 100644
--- a/morph/storage002-hardware.nix
+++ b/morph/storage002-hardware.nix
@@ -18,6 +18,13 @@
       fsType = "ext4";
     };
 
+  # Manually created using:
+  #   zpool create -m legacy -o ashift=12 root raidz /dev/disk/by-id/{wwn-0x5000cca25dcc966d,wwn-0x5000cca24cec02e3,wwn-0x5000cca25dcc7711,wwn-0x5000cca25dccca63,wwn-0x5000cca25dcc74b6,wwn-0x5000cca25dcc4591,wwn-0x5000cca25dcc4461}
+  fileSystems."/storage" = {
+    device = "root";
+    fsType = "zfs";
+  };
+
   swapDevices = [ ];
 
   nix.maxJobs = lib.mkDefault 24;
-- 
GitLab