Posts

ZFS boot pool

The following applies to Ubuntu 22.04.3. It may work for other versions, YMMV. Use at your own risk. I like ZFS, a lot. It’s my preferred filesystem for most things, in particular Linux Containers (lxc). I’ve been running one server with a boot pool using ZFS. When configured this way a service (zsys) runs which should tidy up old kernels and snapshots to release space. The default settings for zsys (in /etc/zsys.
Read On →

Home Assistant

Home Assistant (HA) is so much more than home automation, it’s a platform for all your things. This post is being written using the Studio Code Server add on. Sensors can be stored and plotted using the InfluxDB and Grafana add ons. It can easily (and securely) be exposed to the internet using Tailscale and Caddy. The list goes on (add-ons) and on (community add-ons). My HA is running in a LXD virtual machine.
Read On →

apt upgrade failed

Main PC runs Ubuntu which is updated (apt update && apt upgrade) regularly. The PC uses ZFS for everything, including boot. Today’s upgrade failed, not enough space in the boot pool. My bad really, several updates without running apt autoremove. If you get stuck then use zsysctl to manually remove saved state, e.g. # zfs list -r -t snapshot -o name,used,referenced,creation bpool/BOOT # zsysctl state remove y3xem1 --system (where y3xem1 is the state name, change this to the oldest state name returned by zfs list)

DNS, domains, no email

Updated previous note with updates from Cloudflare. If you have a domain which is not used for email then please add DNS records to prevent it being abused. . TXT "v=spf1 -all" . MX . 0 _dmarc. TXT "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s" *._domainkey. TXT "v=DKIM1; p="