field log

Notes on home labs, Linux and small hardware projects. Mostly for future me.

Moving the NAS to ZFS mirrors

Finally replaced the old RAID5 array with two mirrored vdevs. Resilver on 4 TB drives took about six hours. Lesson learned: set ashift=12 at pool creation, you can't change it later.

Raspberry Pi as a temperature logger

A DS18B20 sensor, twenty lines of Python and a cron job. Data goes to a SQLite file, graphs are rendered once an hour. Power draw stays under 2 W.

Notes on unattended upgrades

Enabled automatic security updates on all Debian boxes. Remember to whitelist only the security origin and to set Automatic-Reboot-Time to something sane.

Soldering a new keyboard PCB

Hot-swap sockets were the right call. Took an evening; the stabilizers took another one.