Open Source

Transferring a VM from one provider to another

Yesterday, I mentioned (in more than one place) that I planned to move a 2017 Digital Ocean droplet over to Azure. As I sit here, with coffee, on the balcony, overlooking lot of green trees, at 7:45 AM, I’m trying to put into words the plan I came up with about 30 minutes ago. In this post: Digital Ocean Microsoft Azure FreeBSD 14.1 Why move? There is no technical issue or dissatisfaction involved […]

Transferring a VM from one provider to another Read More »

Updating some jails from FreeBSD 14.0 to FreeBSD 14.1 via mkjail

I’ve updated all my hosts to FreeBSD 14.1 – but not all the jails. I’m going to do some of that today. In this post: FreeBSD 14.0 FreeBSD 14.1 mkjail-0.0.4 What’s on r730-03 to update? Full disclosure: mkjail was originally written by Mark Felder, and I joined him in maintaining it. I use it for: Creating jails Updating jails (patching, like freebsd-update fetch install) Upgrading jails (as in going from FreeBSD 14.0 to

Updating some jails from FreeBSD 14.0 to FreeBSD 14.1 via mkjail Read More »

Notes on running net-snmp as non-root

When feasible, I prefer to run things as non-root. A recent commit to net-snmp has made this possible. By its nature, being a new change, it took me some time and help to figure out what needed to be changed. Before doing this yourself, I recommend waiting until the two code reviews mentioned below are committed. In this post: FreeBSD 14.0-RELEASE-p6 net-snmp-5.9.4_2,1 librenms-24.5.0,1 I include commands from different host; please do not be

Notes on running net-snmp as non-root Read More »

Copying an existing jail to try bind918

bind916 will be EOL in a few months (April 2024). In this post, I’m going to copy an existing jail (running bind916) and configure it to run the new bind. If all goes well, the new jail will replace the old jail. This has an added benefit of effectively renaming the old jail (toiler) to dns2 (my other dns server at home is called dns1). Given the jail runs both dhcpd and named,

Copying an existing jail to try bind918 Read More »

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 so choose (search for rc_conf_files)). With that approach in mind, I wanted to do the same thing with

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

Adding a new user to my Time Capsule – on ZFS with Samba

I have another laptop I want to backup using my Time Capsule jail. Here are the step I used. Create a Unix User I have no idea if I need to do this. But I did. But now, I’m thinking, it is not required, at all. But read on, I think I’ll show you where I use it. [21:56 tm dvl ~] % sudo adduser Username: dvl-pro04 Full name: For backing up pro04

Adding a new user to my Time Capsule – on ZFS with Samba Read More »

OK, we got a Time Machine on ZFS on FreeBSD. So what. Can we restore from it?

I have written recently about creating a ZFS-based Time Machine on FreeBSD. Yesterday, I did my first restore from this instance. Surprise. It worked. Please move along. Nothing to see here. Just photos. The motivation: I’m replacing one MacBook with another. Some details here on Twitter. Edit – 2024-02-22 After I messed up when renaming a user account, I restored from backup. Since my Time Machine is only available via my VPN, I

OK, we got a Time Machine on ZFS on FreeBSD. So what. Can we restore from it? 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 things. They occur infrequently enough that documenting it is a good idea. In this post: FreeBSD 14 The

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 thumb drive ssh in as root wipe the drives watch Band of Brothers profit What’s not to like?

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

Dan adds 2 x 12TB HDD into r730-03

I know, I know. You can hardly contain your excitement as you read about my exploits. In this post, I add the drives into the host and run some simple tests. As in recent posts about 12T drives, these drives are not new. They are used drives. A later post will deal with the commands which add these new drives into an existing zpool. These drives came from serverpartdeals.com. They are used and

Dan adds 2 x 12TB HDD into r730-03 Read More »

Scroll to Top