FreeBSD

Moving local settings for pg_hba.conf and postgresql.conf out of PGDATA

One of the configuration aspects of FreeBSD I have long liked is the concept of default values which are overridden by the user. For example, /etc/defaults/rc.conf (see The /etc directory). The default values in this file can be overridden by the user with their preferred values in /etc/rc.conf (or /etc/rc.conf.local, and other locations if you

Moving local settings for pg_hba.conf and postgresql.conf out of PGDATA Read More »

Adding another pair of drives to a zpool mirror on FreeBSD

Today, I’m ready to adding two recently obtained 12T spinning disks to r730-03. This host is the work-horse which houses all the main backups and database regression testing. It also hosts my newly-created but not yet-functional graylog jail. I will be following a previous post about adding drives because I don’t want to remember these

Adding another pair of drives to a zpool mirror on FreeBSD Read More »

Clearing out multiple drives – while watching Band of Brothers

The accomplished reader will first ask, how is this post any different from Clearing-out multiple drives concurrently – while Watching Fargo Season 5? Well, first, it’s a different server. This one is r720-01. Second, I’m watching Band of Brothers, which is completely different. However, the approach is the same: Boot the host using an mfsBSD

Clearing out multiple drives – while watching Band of Brothers Read More »

Configuration for running poudriere in a jail on FreeBSD 14

I run poudriere in a jail on FreeBSD – it really is becoming the thing-to-do with all the cool kids. Everyone’s doing it. It is nifty. I will provide only the jail configuration, and not any file system configuration. That is left for you. I think these links might be most helpful: Using poudriere to

Configuration for running poudriere in a jail on FreeBSD 14 Read More »

Clearing-out multiple drives concurrently – while Watching Fargo Season 5

It is time to let the knew server go. It has gone through multiple upgrades, new drives, new boards, and new chassis. It has been replaced by r730-03. Before I let it go, I want to clear off the drives. By that I mean: I did this by booting the host using mfBSD (a lovely

Clearing-out multiple drives concurrently – while Watching Fargo Season 5 Read More »

Creating a Time Capsule instance using Samba, FreeBSD, and ZFS (latest)

This is a rewrite of a previous post on the same subject. I have rewritten it because I created a new jail ™ and I’m using a different configuration now. I recently moved a Time Capsule instance from a FreeBSD host into a jail. Later, I moved to using Samba instead of AFP. Why? Samba

Creating a Time Capsule instance using Samba, FreeBSD, and ZFS (latest) Read More »

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 »

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 »

Scroll to Top