Author name: Dan Langille

Converting pgeu-system schedule to HTML

I’ve been using pgeu-system for conference organization since 2000. Once feature I wish it had: export the schedule to HTML. The primary reason for that is to decouple the schedule from the software. That way, the schedules are available on the website when the software is not running. That is, instead of pulling the page from the database, you’re pulling the page from static HTML files. Such a feature is useful should you […]

Converting pgeu-system schedule to HTML Read More »

Is deleting empty snapshots faster?

During the 2025-01-22 OpenZFS Production User Call, ‘atomic operations’ was mentioned with respect to ~/tmp/deleting zfs list -r -t snapshot data01/snapshots/deleting > ~/tmp/deleting 2.54s user 48.47s system 99% cpu 51.042 total 50 seconds. That’s OK. 60,000 deletes starting on the 23rd I started the delete. Actually, it’s not 60,000 deletes. It’s one destroy, of 60,000 snapshots. [12:52 r730-03 dvl ~] % time sudo zfs destroy data01/snapshots/deleting@1%60000 After starting the above command, I started

Is deleting empty snapshots faster? Read More »

Way too many snapshots

In this post In this post, we have: FreeBSD 14.1-RELEASE-p5 r730-03 Lots of boring repetitive sections, so skip over that to find what you need This article was written over a couple of days. The zpool in question is 3 pairs of 12TB HDD: [13:44 r730-03 dvl ~/tmp] % zpool status data01 pool: data01 state: ONLINE scan: scrub in progress since Fri Jan 17 05:29:21 2025 22.1T / 26.1T scanned at 200M/s, 19.2T

Way too many snapshots Read More »

Why does the same command appear on two different ports with different times?

While I was destroying some snapshots, I found this interesting / disturbing. Why is the same destroy appearing twice, on different TTYs? [16:11 r730-03 dvl ~/tmp] % w | grep air dvl pts/2 air01.startpoint.vpn.unixathome.org 1:04PM 2:18 sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-19_22:15:08_frequently dvl pts/1 air01.startpoint.vpn.unixathome.org Fri11PM – w dvl pts/4 air01.startpoint.vpn.unixathome.org 4:11PM – sudo zfs destroy data01/snapshots/homeassistant-r730-01@autosnap_2024-10-19_22:15:08_frequently dvl pts/5 air01.startpoint.vpn.unixathome.org 1:07PM 33 -zsh (zsh) What’s up with that? And why different times? It is not

Why does the same command appear on two different ports with different times? Read More »

Renaming and replacing zroot filesystems using mfsBSD

This might have interesting tidbits. It’s a draft from June 2020 where I was renaming filesystems when booting from a live thumbdrive. I am replacing one zroot with another because of missing binaries and suspect layout. The existing zroot is an old system predating current zroot layouts. I have already copied over some filesystems via zfs send | zfs recv over ssh. I will now try renaming the filesystems on the new drives

Renaming and replacing zroot filesystems using mfsBSD Read More »

Reproducing a batch insert for Bacula on PostgreSQL

This work from August 2022 was interesting at the time. My database server gets slow from time to time. It seems to happen repeatedly. I’m not sure why, but inserting large numbers of rows takes a very long time. This is a typical use-case for Bacula when recording what was backed up. I started with this, the duplication of the batch table created when Bacula is storing attribute for later insertion into the

Reproducing a batch insert for Bacula on PostgreSQL Read More »

Creating jails in a jail for testing /etc/jail.conf

This is work from April 2021, and sometimes there is a need to do a jail in a jail. This shows how. I want to testing jail.conf, in a jail. I don’t want to test this on a host, because that might interfere with existing jails. This is related to a FreeBSD code review which will add support for jail.d – that means you can have something like /etc/jail.d.conf/foo.conf which is the configuration

Creating jails in a jail for testing /etc/jail.conf Read More »

New vuln is out – where do I have that installed? – SamDrucker

I abandoned this post back in March h202 because I was unable to get keycloak to contact samducker. I’m publishing it now mostly because of SamDrucker. keycloak is a vnet jail. Interesting things happen there. From time to time, security issues are found within software. The FreeBSD package management system relies upon pkg-audit and the Vulnerability database to alert system administrators that attention is required. Case in point, My Nagios monitoring is showing

New vuln is out – where do I have that installed? – SamDrucker Read More »

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 »

Scroll to Top