Author name: Dan Langille

I've been playing with computers since I read an Elementary Electronics magazine way back in the 1970s. I started contributing to open source projects in 1998. After that, I gradually moved from being a software developer to being a systems administrator.

Dell R730 – moving disks from front drive bay to PCI slots in r730-03

I’ve been seeing these types of errors for about 4 weeks now. I ordered a replacement drive. When it arrived, I realized I had no free drive bays. When a drive is still functional, I prefer to leave it in the host to retain zpool integrity. Instead, I will add the new drive in, run the zpool replace command, and when completed, remove the faulty drive. I decided to order more Icy Dock […]

Dell R730 – moving disks from front drive bay to PCI slots in r730-03 Read More »

Eaton 5PX UPS – clear the ‘Replace Battery’ warning

Three weeks ago, I wrote about Replacing batteries Eaton 5PX – 5PX2200RT & 5PXEBM48RT. Back then, I did not properly replace the front panel before connecting the battery… See also Eaton 5PX console booting screen shots for the followup work. Fixing this requires disconnecting the battery from the UPS. I’m not sure if I can do that live, but I’m not going to try. During this procedure, I will also move two drives

Eaton 5PX UPS – clear the ‘Replace Battery’ warning 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 »

Replacing batteries Eaton 5PX – 5PX2200RT & 5PXEBM48RT

NOTE: the images in this blog post were broken. As of 2024-12-01 1600 UTC, they are fixed. Sorry about that. Two useful links for future me: https://caniuse.com/?search=HEIC https://urlscan.io/result/31b29ced-bf41-415c-994e-df6ec532cb29/ The time arrived this morning. The batteries were charged up. I had most of the day to myself. It was time to replace the batteries. Elapsed time for this process, according to the photos I took, was about 90 minutes. However, looking at snmpd metrics,

Replacing batteries Eaton 5PX – 5PX2200RT & 5PXEBM48RT 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 »

Selecting replacements batteries for my Eaton 5PX UPS (5PX2200RT & 5PXEBM48RT)

Both nut and Nagios are telling me: replace my batteries. Fair enough. The UPS (5PX2200RT) and the external battery pack (5PXEBM48RT) were installed and configured with nut four years and two months ago. It’s time. Usually, I buy compatible third party batteries. Looking at video and images, I’m seeing these units use batteries in a pre-packaged plastic shell. I posted to the nut users mailing list and received some fantastic replies. The best

Selecting replacements batteries for my Eaton 5PX UPS (5PX2200RT & 5PXEBM48RT) 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 »

dma: could not pick up queue file

see https://lists.freebsd.org/archives/freebsd-questions/2024-October/005877.html for the full archive. A while back, I changed my FreeBSD jails from using postfix to using dma. I like postfix, but I don’t want to maintain the app in so many locations. dma is less work. I wrote a short blog post about configuring dma and also blogged about replacing postfix with dma. All was well. Except this one log entry which I started to see, on some hosts, not

dma: could not pick up queue file Read More »

Self-hosting Bitwarden / VaultWarden on FreeBSD

The time has come for me to consider another application for my TOTP data (think 6-digit codes produced by Google Authenticator or an RSA device. I’ve been using an app called 2STP – I have long liked it. Support for it ended about 7 years ago, yet it continued to slug along on my phone and on my watch. Recently, it stopped working on my watch. That was the tipping point. I decided

Self-hosting Bitwarden / VaultWarden on FreeBSD Read More »

Scroll to Top