Open Source

The backup disk image … sparsebundle could not be accessed (error 19)

I wrote this back when and left it in drafts. Time to publishh. I was getting this message when one of my MacBooks was trying to back via TimeMachine to my FreeBSD ZFS server. “The backup disk image … sparsebundle could not be accessed (error 19)” imeMachine also told me the last backup was on Oct 7. Checking my snapshots: [20:01 r730-03 dvl ~] % zfs list -r -t snapshot data01/timemachine/dvl-air01 NAME USED […]

The backup disk image … sparsebundle could not be accessed (error 19) Read More »

Complete network shutdown – wtf?

This afternoon, I was running an Ansible script to update the snmpd configuration settings on nagios03 (which replaced nagios02 – which was intentionally destroyed earlier today). After the script completed, I could not access the ngaios3 website, nor could I ssh into the host. My first thoughts: I must have messed up the ssh configuration, I’ll fix it through the console. I can’t get to anything. Anywhere. WIFI now? No, it’s me that’s

Complete network shutdown – wtf? Read More »

PF states limit reached – on three different host at nearly the same time

What are the chances that three different hosts, in thee different datacenters all display these messages within seconds of each other? The uptimes: [dvl@r720-02:~] $ uptime 1:42PM up 62 days, 15:01, 2 users, load averages: 0.04, 0.12, 0.18 [13:42 tallboy dvl ~] % uptime 1:42PM up 62 days, 15:37, 2 users, load averages: 0.17, 0.37, 0.34 [13:42 zuul dan ~] % uptime 1:42PM up 62 days, 14:56, 2 users, load averages: 0.24, 0.25,

PF states limit reached – on three different host at nearly the same time Read More »

Converting a subversion repo to git

This is not finished. It has been posted for review. When this paragraph is gone, the post is finished. I’ve wanted to convert my subversion repos to git for years. It’s never been a high priority. But here we go. First, I created a local temporary and insure subversion repo with a copy of my real repo. This allows me to mess up and not affect the real repo. I’m sure nothing I’m

Converting a subversion repo to git Read More »

Setting up a local subversion repository server with nil security

There is much code for FreshPorts which lives in a subversion repository in my basement. I have long wanted to convert that to git and move it to git hub. In this post: FreeBSD 14.1 subversion 1.14.4 Which reminds me: I need to find a tool which backs up Github repos for me. Preferably everything under an organization. Just in case. I will copy the data from my repo to another host and

Setting up a local subversion repository server with nil security Read More »

zpool replace

Yesterday, I added a new drive into the system. Today, I will replace the failing drive with that one. In this post: FreeBSD 14.1 Before [18:23 r730-03 dvl ~] % zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT data01 32.7T 26.0T 6.76T – – 32% 79% 1.00x ONLINE – zroot 412G 18.5G 393G – – 18% 4% 1.00x ONLINE – [18:24 r730-03 dvl ~] % zpool status data01

zpool replace Read More »

kernel: swap_pager: cannot allocate bio

This morning, I saw this in my logs: In this post: FreeBSD 14.1 r730-03 Looking in he logs, there wasn’t much useful: Searching online, I found swap_pager: cannot allocate bio so I decided to limit ARC size. I’ve done this before, and recently too.. Here is what I added to /boot/loader.conf: I just picked the same value I was using for another host. The values in the file can using units, such as

kernel: swap_pager: cannot allocate bio Read More »

Optimizing UPS power use when the power goes out

This post is mostly for myself. I’m just putting my Sunday morning thoughts down for later review and consideration. When Selecting replacements batteries for my Eaton 5PX UPS (5PX2200RT & 5PXEBM48RT), I began to think about: when the power goes off, why can’t I keep using my laptop? Usually, I still have an Internet connection: the ISP isn’t going offline. Why not turn off the two servers in the basement, and anything else

Optimizing UPS power use when the power goes out Read More »

Loading up an old copy of a PostgreSQL database, zfs snapshots, and sanoid snapshot management

Sometimes you want to go back to a known good state. And you want to do it quickly, without waiting around. In my case, that’s going to be a zfs snapshot. Today I am preparing to test some code changes so that FreshPorts properly creates a new category. See these recent blog posts for details: Welcome to the new category: filesystems Fixing the category creation code In this post: FreeBSD 14.1-RELEASE-p5 postgresql16-server-16.4 dbclone

Loading up an old copy of a PostgreSQL database, zfs snapshots, and sanoid snapshot management Read More »

zfs hold / release

Let’s talk about zfs hold. Based on man zfs-hold: “If a hold exists on a snapshot, attempts to destroy that snapshot by using the zfs destroy command return EBUSY.” Let’s apply that to some FreshPorts snapshots which I don’t want going away: This is your typical FreshPorts website: [15:03 dvl-nginx01 dvl ~] % zfs list NAME USED AVAIL REFER MOUNTPOINT data02 1.13T 565G 96K none data02/freshports 671G 565G 88K none data02/freshports/jailed 326G 565G

zfs hold / release Read More »

Scroll to Top