2023

FreeBSD jailed ZFS datasets – how do I find the .zfs/snapshot directory?

On FreeBSD, you can jail a ZFS dataset – that is, the jail can manipulate the ZFS dataset as if it was a host (more or less). This has useful applications. In my case, I want to backup a snapshot of that dataset from the host. For example, I want to backup this dataset: [12:19

FreeBSD jailed ZFS datasets – how do I find the .zfs/snapshot directory? Read More »

Backing up FreeBSD with Bacula via ZFS snapshot

Tonight, while watching an episode of The Great British Bake Off, I configured a new Bacula backup jobs to cover some datasets which were not already backed up. I already have a backup jobs to backup all the jails, but only for datasets which sit right under zroot/jails (for example). This new solution takes a

Backing up FreeBSD with Bacula via ZFS snapshot Read More »

Debugging snmp output when using LibreNMS

Librenms is my tool-of-choice for grabbing metrics from switches, servers, wireless access points, and anything else with an snmp interface. In this post: FreeBSD 14.0 LibrenMS 23.11.0,1 – updated to 23.11.0_1,1 within this post net-snmp-5.9.1_4,1 After updating some hosts to FreeBSD 14, the zfs application/extension broke. It was quickly amended after a report was lodged.

Debugging snmp output when using LibreNMS Read More »

ntpd[66134]: leapsecond file (‘/var/db/ntpd.leap-seconds.list’): will expire in less than 9 days

If you’ve been watching your logs, you’ve probably noticed messages like this: In this post: FreeBSD 14.0 ntpd .2.8p16-a (included with the base OS) There are several FreeBSD PR lodged, the most relevant (to me) is ntpd: leap-seconds.list should not run inside jails, and IETF is no longer hosting it. The fix I am using:

ntpd[66134]: leapsecond file (‘/var/db/ntpd.leap-seconds.list’): will expire in less than 9 days Read More »

Avoiding repetition within jail configurations

Without resorting to configuration tools, such as Ansible, I wonder if there is an easy way to avoid repeating a list of datasets within a jail configuration. First, some facts: FreeBSD 14.0 I use plain vanilla jails I know this can be easily scripted with a configuration tool; that is out of scope for this

Avoiding repetition within jail configurations Read More »

Post upgrade – checking the jails

Stuff goes wrong. I like to check. Trust. But. Verify. Skip to the end for the list of useful commands. Here’s some of that verification, as briefly mentioned in FreeBSD 14 upgrade – files not removed by delete-old and Excluding some jails from upgrade. After upgrading all the jails on r730-01, I wanted to make

Post upgrade – checking the jails Read More »

FreeBSD 14 upgrade – files not removed by delete-old

I was upgrading a jail (dns1) on r730-01 and I noticed this output from mkjail: In this post: FreeBSD 13.2 (upgrading from) FreeBSD 14.0 (upgrading to) mkjail-0.0.4 (upgrading with) EDIT: 2023-12-05 : This happened again when I updated the tallboy host. Looking at the mkjail source, I realized it had just completed the pkg upgrade

FreeBSD 14 upgrade – files not removed by delete-old Read More »

r730-01

This post has been replaced by a newer post. For reference, the previous post on this server is still available. Today, the host was updated to FreeBSD 14.0, from FreeBSD 13.2. This is my primary developer server in my basement. gpart zpool list zpool status zfs list dmesg sesutil show jls

r730-01 Read More »

Scroll to Top