smartmontools

smartmontools

This requires a working smtp forwarder!

install package

pacman -S smartmontools

some sane defaults to mail

cat >> /boot/loader/entries/arch.conf << EOF
/dev/disk/by-id/ata-HGST_HMS5C4040BLE640_PL1331LAHD0MNH -S on -o on -a -I 194 -m some@valid.mail
/dev/disk/by-id/ata-WDC_WD40EFRX-68WT0N0_WD-WCC4E2XD164K -S on -o on -a -I 194 -m some@valid.mail
/dev/disk/by-id/ata-Crucial_CT128M550SSD3_14290E56AD2C -S on -o on -a -I 194 -m some@valid.mail
EOF

enable and start the unit

systemctl --now enable smartd.service

Last modified: Mon May 13 19:34:37 2024