From 104ea7f0cb0690bd4a15ccd4dd431ac5d8fa61bb Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Sun, 14 Jan 2024 23:21:47 +0000 Subject: [PATCH] tywin: temporarily remove d0 drive d0 is seriously rumbling. remove it so this server can boot with it removed. kill the storj on it too. --- hosts/tywin.storage.ts.hillion.co.uk/default.nix | 4 ++-- .../hardware-configuration.nix | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/hosts/tywin.storage.ts.hillion.co.uk/default.nix b/hosts/tywin.storage.ts.hillion.co.uk/default.nix index 0524c04..0f84fb0 100644 --- a/hosts/tywin.storage.ts.hillion.co.uk/default.nix +++ b/hosts/tywin.storage.ts.hillion.co.uk/default.nix @@ -42,7 +42,7 @@ interval = "Tue, 02:00"; }; - fileSystems."/mnt/d0".options = [ "x-systemd.mount-timeout=3m" ]; + # fileSystems."/mnt/d0".options = [ "x-systemd.mount-timeout=3m" ]; fileSystems."/mnt/d1".options = [ "x-systemd.mount-timeout=3m" ]; fileSystems."/mnt/d2".options = [ "x-systemd.mount-timeout=3m" ]; fileSystems."/mnt/d3".options = [ "x-systemd.mount-timeout=3m" ]; @@ -224,7 +224,7 @@ storage = "1500GB"; }; }; - instances = builtins.genList (x: x) 4; + instances = [ 1 2 3 ]; in builtins.listToAttrs (builtins.map mkStorj instances); diff --git a/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix b/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix index ebc3694..b7f8469 100644 --- a/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix +++ b/hosts/tywin.storage.ts.hillion.co.uk/hardware-configuration.nix @@ -26,11 +26,11 @@ fsType = "vfat"; }; - fileSystems."/mnt/d0" = - { - device = "/dev/disk/by-uuid/b424c997-4be6-42f3-965a-f5b3573a9cb3"; - fsType = "btrfs"; - }; + # fileSystems."/mnt/d0" = + # { + # device = "/dev/disk/by-uuid/b424c997-4be6-42f3-965a-f5b3573a9cb3"; + # fsType = "btrfs"; + # }; fileSystems."/mnt/d1" = { -- 2.47.0