Revert "devices.srv2: 准备交换节点"

This reverts commit a028de0e7b.
This commit is contained in:
2025-07-08 11:17:58 +08:00
parent a028de0e7b
commit c4a860ccac
3 changed files with 10 additions and 15 deletions

View File

@@ -14,7 +14,11 @@ inputs:
};
nix.remote.slave = {};
};
services = { ollama = {}; beesd."/".loadAverage = 8; };
services =
{
ollama = {};
beesd."/" = { hashTableSizeMB = 16; loadAverage = 8; };
};
};
};
}

View File

@@ -7,8 +7,6 @@ inputs:
model.cluster.nodeType = "master";
system =
{
fileSystems.mount.btrfs."/dev/disk/by-partlabel/srv2-node1-data1" =
{ "/nix/persistent" = "/nix/persistent"; "/nix/nodatacow" = "/nix/nodatacow"; };
nixpkgs.march = "znver3";
network =
{
@@ -21,7 +19,11 @@ inputs:
services =
{
xray.client.dnsmasq.extraInterfaces = [ "enp58s0" ];
beesd = { "/".loadAverage = 8; "/nix/persistent" = { hashTableSizeMB = 128 * 10; loadAverage = 8; }; };
beesd =
{
"/" = { hashTableSizeMB = 10 * 128; loadAverage = 8; };
"/nix".hashTableSizeMB = 64;
};
xrdp = { enable = true; hostname = [ "srv2.chn.moe" ]; };
samba = { hostsAllowed = ""; shares = { home.path = "/home"; root.path = "/"; }; };
groupshare = {};

View File

@@ -1,11 +0,0 @@
* 安装 node0 的系统
* 安装 node1 的系统
* 停止服务
* 准备 node1 的 data
* 准备 node0 的 data
* 调整分区标识
* 关机,交换硬盘
* 启动 node1
* 启动 node0重新安装引导
* 清理scrub
* 启用 raid