diff --git a/nodes/rottenraptor-server.toml b/nodes/rottenraptor-server.toml index 6c60d62..b0dd56b 100644 --- a/nodes/rottenraptor-server.toml +++ b/nodes/rottenraptor-server.toml @@ -1,6 +1,6 @@ hostname = "91.198.192.207" groups = ["debian-bookworm"] -bundles = ["ipmitool"] +bundles = ["ipmitool", "smartd", "zfs"] [metadata] backups.exclude_from_backups = true @@ -15,3 +15,37 @@ ips = [ ] gateway4 = "91.198.192.193" gateway6 = "2001:67c:b54:1::1" + +[metadata.smartd] +disks = [ + "/dev/disk/by-id/ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T0287704", + "/dev/disk/by-id/ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T0387139", + "/dev/disk/by-id/ata-WDC_WDS100T1R0A-68A4W0_21133V800321", + "/dev/disk/by-id/ata-WDC_WDS100T1R0A-68A4W0_21283J446103", + "/dev/disk/by-id/nvme-TOSHIBA-RC100_58UPC29HPW5S", +] + +[metadata.zfs.pools.tank.when_creating] +ashift = 12 + +[[metadata.zfs.pools.tank.when_creating.config]] +type = "mirror" +devices = [ + "/dev/disk/by-id/ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T0287704", + "/dev/disk/by-id/ata-WDC_WD30EZRX-00DC0B0_WD-WMC1T0387139", +] + +[[metadata.zfs.pools.tank.when_creating.config]] +type = "log" +devices = [ + "/dev/disk/by-id/ata-WDC_WDS100T1R0A-68A4W0_21133V800321-part1", + "/dev/disk/by-id/ata-WDC_WDS100T1R0A-68A4W0_21283J446103-part1", +] + +[[metadata.zfs.pools.tank.when_creating.config]] +type = "cache" +devices = [ + "/dev/disk/by-id/ata-WDC_WDS100T1R0A-68A4W0_21133V800321-part2", + "/dev/disk/by-id/ata-WDC_WDS100T1R0A-68A4W0_21283J446103-part2", +] +