rottenraptor-server: add smartd and zfs

This commit is contained in:
Franzi 2024-10-24 19:25:23 +02:00
parent d1b369fb26
commit ed9607433d
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -1,6 +1,6 @@
hostname = "91.198.192.207" hostname = "91.198.192.207"
groups = ["debian-bookworm"] groups = ["debian-bookworm"]
bundles = ["ipmitool"] bundles = ["ipmitool", "smartd", "zfs"]
[metadata] [metadata]
backups.exclude_from_backups = true backups.exclude_from_backups = true
@ -15,3 +15,37 @@ ips = [
] ]
gateway4 = "91.198.192.193" gateway4 = "91.198.192.193"
gateway6 = "2001:67c:b54:1::1" 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",
]