Open Source

Dumping PostgreSQL 9.4 to upgrade to PostgreSQL 9.6

FreeBSD 10.3 & PostgreSQL 9.4 on the old server, and FreeBSD 11.1 & PostgreSQL 9.6 on the new server. As part of the move from the old FreshPorts server (photos) to the new FreshPorts server, I’ll need to dump the database and copy it over. What? No zfs send? There is no ZFS on the […]

Dumping PostgreSQL 9.4 to upgrade to PostgreSQL 9.6 Read More »

/etc/rc.subr: 1391: Syntax error: “fi”: unexpected

Yesterday, I upgraded a DigitalOcean droplet from FreeBSD 10.3 to FreeBSD 11.1 just before I headed to work. I’ve done such upgrades several times before. They all went well. This one did not. Several issues cascaded to prevent me from completely this task in a timely manner. Let me describe the events as they unfolded.

/etc/rc.subr: 1391: Syntax error: “fi”: unexpected Read More »

Upgrading from FreeBSD 10.3 to 11.1 via freebsd-update and beadm

Yesterday I modified a server from booting off a raidz2 array, to booting off a newly created zpool. Why? Because HBAs are a pain to boot off. Instead, this server is now booting off a ZFS mirror of two SSDs, both of which are directly attached to the M/B. Today, I am upgrading this server

Upgrading from FreeBSD 10.3 to 11.1 via freebsd-update and beadm Read More »

Bacula – ran out of space, moved some volumes to another zpool

I’m using Bacula 9.0.3 for this post, on FreeBSD 10.3 and 11.1. I did not document this as I went along, however, the details should be enough to get you started. NOTE: when I refer to the bacula-sd configuration, I mean the bacula-sd in question, not necessarily on the same server as bacula-dir. This will

Bacula – ran out of space, moved some volumes to another zpool Read More »

FreeBSD – what processes in what jails are using swap?

Sometimes stuff gets swapped out. When it does, it’s good to know what is swapped. I was getting this Nagios alert this morning. I started searching. I found this post about showing what is using swap via: [dan@knew:~] $ ps ax | awk ‘NR==1{print};$3 ~ /W/’ PID TT STAT TIME COMMAND 12 – WL 54:27.37

FreeBSD – what processes in what jails are using swap? Read More »

Scroll to Top