Jails

Bacula – calculating Maximum Volume Bytes and Maximum Volumes based on historical data

I’ve used Bacula since at least January 2004 (so nearly 20 years). I liked it so much I dropped my deployment-in-motion of another tool (if you search lightly, you can find out which one). I liked it so much, I wrote a PostgreSQL backend for it. This post is not for Bacula novices. This post is for those who have already deployed a Bacula instance and are rather familiar with the process. I […]

Bacula – calculating Maximum Volume Bytes and Maximum Volumes based on historical data Read More »

Identifying jails and data to migrate from old host to new host

I’m retiring knew and moving the services over to r730-03. I recently added 2 12TB drives to the latter host. In this post, I’ll start the migration process by identifying what data needs to move, from where, and to where. In this post: knew r730-03 FreeBSD 13.2-RELEASE-p2 The data There are the zpools in question: [15:19 knew dan ~] % zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT

Identifying jails and data to migrate from old host to new host Read More »

Changing how I use IP address with FreeBSD’s vnet – so IPv6 works

The vnet (network subsystem virtualization infrastructure) on FreeBSD is both a blessing and a curse. For me, it isn’t working well with IPv6. I’ve hit issues with pf (since solved, I’m sure). It’s a useful feature but can be confusing. It helps to have lots of time to think about it and what you’re doing. I talked about this amongst the FreeBSD jail group and out of that came a blog post: The

Changing how I use IP address with FreeBSD’s vnet – so IPv6 works Read More »

vnet jail on FreeBSD not letting pings through from another non-vnet jail

NOTE: this problem was fixed by moving all the IP addresses to the bridge. See Changing how I use IP address with FreeBSD’s vnet – so IPv6 works I just restarted my pkg01 jail. Now Nagios can’t see it on IPv6. In fact, none of the jails on this host can now ping pkg01. This is FreeBSD 13.1-RELEASE-p6 I did try DAD (based on this previous post, but that’s no help here). [17:19

vnet jail on FreeBSD not letting pings through from another non-vnet jail Read More »

Monitor your backups

It’s good to do automated backups. When you do that, add monitoring to make sure the backups are occurring successfully. In my case, I backup using Bacula. Each job creates a new .bsr file. I copy these files to another location each day. Then I monitor the dates on those files and they should all be less then a day or so old. Edit (added 2023-08-29) This post is about upgrading net-mgmt/unifi6 to

Monitor your backups Read More »

Is your jail not getting an IPv6 address soon enough? Blame DAD.

I have jails with both IP4 and IPv6 addresses. Lately, I’ve been noticing this in /var/log/messages: And this in console messages: Looking in the jail, it had IPv6 addresses. What gives? In this post: FreeBDS 13.1 The jail example I had a jail, similar to this: After the jail started, I could see both IP addresses on the specified NIC: [besser dan ~] % ifconfig igb0 igb0: flags=8963 metric 0 mtu 1500 options=4a500b9

Is your jail not getting an IPv6 address soon enough? Blame DAD. Read More »

Ansible playbook for FreeBSD jail.conf.d

While I was moving jails from one host to another, I decided to start using /etc/jail.conf.d/. The idea is each jail gets its own configuration file in that directory, instead of using /etc/jail.conf. In this post: FreeBSD 13.1 But first, you should know Let’s get some things out in the open before you jump into the change. The main advantage of /etc/jail.conf.d/ is each jail gets its own configuration file. Easy to find.

Ansible playbook for FreeBSD jail.conf.d Read More »

error: cannot open ‘.git/FETCH_HEAD’: No space left on device

After moving the poudriere jail (pkg01) to the new host (r730-01), I noticed this message from Nagios: That “email found in . /var/mail/dan” message is significant. In general mail on my hosts/jails is not delivered locally. It all goes off-host. That’s why I have this Nagios check. When mail like that is found, it’s either a configuration error or something local has gone wrong. In this post: FreeBSD 13.1 poudriere-3.3.7_1 NOTE: This is

error: cannot open ‘.git/FETCH_HEAD’: No space left on device Read More »

Moving one jail from host to host

This is a quick post about the steps I’m using to move my jails from one host to another. This is bing done as I merge two hosts into one. I have not attempted to automate this, apart from the initial syncoid copying of data. This post is base roughly upon my Mastodon post from yesterday. In this post: FreeBSD 13.1 sanoid-2.1.0 copying from slocum copying to r730-01 use of /etc/jail.conf.d/ Right, now,

Moving one jail from host to host Read More »

Moving the poudriere jail from slocum to r730-01

NOTE: If you’re looking for a jail configuration for poudriere, please refer to Configuration for running poudriere in a jail on FreeBSD 14. I recently moved the pkg01 jail from one host to another. I’m having trouble getting it to build packages. [pkg01 dan ~] % sudo poudriere testport -j 131amd64 -p dvl -z primary -i devel/py-pip [00:00:00] Error: Please load the linux module on the host using “kldload linux” On the host:

Moving the poudriere jail from slocum to r730-01 Read More »

Scroll to Top