FreeBSD

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 »

Nagios 3: moving from nrpe 3 to nrpe 4 – what needs changing?

Yesterday, I noticed this message in one of the “daily security run output” emails which FreeBSD host can send out. I’ve used net-mgmt/nrpe3 for several years. It checks remote hosts and runs any number of predetermined commands and returns the results. It’s stable, highly configurable, and just keeps running. I had a look at the replacement (net-mgmt/nrpe) and decided to build and install it. First, it went onto my poudriere package bulding host

Nagios 3: moving from nrpe 3 to nrpe 4 – what needs changing? 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 »

Replacing postfix with dma

I like Postfix. I’ve been a fan of it for over 20 years. I deployed it on every host for outgoing email. Lately, I’ve taken to using dma (DragonFly Mail Agent) as my preferred mail handler on jails and hosts which don’t need to deal with incoming mail, only outgoing mail. After first getting serious with it about 6 months ago, I decided to remove it from all internal hosts during the consolidation

Replacing postfix with dma Read More »

Home Assistant running natively on FreeBSD via bhyve

This is is mostly written after-the-fact without good notes. Much of what I’m writing is pulled from a tweet and from things I did as I later copied this VM from one host to another. In this post: FreeBSD 13.1 vm-bhyve-1.5. edk2-bhyve-g202202_1 qemu-7.2.0 Much of what I’m doing is based up David Reid’s blog post: Home Assistant on FreeBSD. I recommend reading his blog post and using updated values, perhaps from my post,

Home Assistant running natively on FreeBSD via bhyve Read More »

Moving ZFS filesystems/datasets from one ZFS zpool to another

Now that I’ve filled up data01, I bought some more SSDs and created another zpool. Today, on this snow-is-anticipated Saturday winter morning, I’m going to move some ZFS filesystems/datasets around. Side note: I like the term dataset better than filesystem. man zfs talks about datasets, which can be a file system, a volume, a snapshot, or a bookmark. However, usually when I talk about a filesystem, it might be dataset. It’s a fine

Moving ZFS filesystems/datasets from one ZFS zpool to another Read More »

Dan makes another zpool

I spent my lunch, and most of my mortgage payment, on 4 x 4TB Blue 4TB SSD 3D NAND (WDS400T2B0A). In this post: FreeBSd 13.1 smartctl output partition creation zpool creation In they go This is them, being inserted into the system: I am concerned by that 150.000MB/s transfers smartctl Let’s look at the smartctl output, just in cases there are returns. What speed can that drive do? I was concerned about that

Dan makes another zpool Read More »

booting without mrsas driver – lots of errors

Today I noticed that all the drives in the R730 host had 150MB/s speeds mentioned in the boot messages. They are all SSDs on an SAS bus. They should be at 600.000MB/s. The HBA in question is a AVAGO MegaRAID SAS FreeBSD (aka PERC H730P Mini). It can use either the mfi driver (default) or the mrsas driver (by setting hw.mfi.mrsas_enable=”1″ in /boot/loader.conf This is an SSD in a PCIe slot: This is

booting without mrsas driver – lots of errors Read More »

Wrong recordsize on zfs send | zfs recv filesystems

Over the past few days, I’ve posted a lot about transferring jails from two hosts into one host. One of the steps involves using zfs send | zfs recv to send the files from one host to another. I’m using syncoide for that transfer. A new fileystem’s recordsize defaults to 128K. In my case, that is usually OK, except for some specific datasets. For example: * video * backups * distfiles (tarballs) Here

Wrong recordsize on zfs send | zfs recv filesystems Read More »

Transferring a jail from one host to another

I’ve started merging these two hosts: r710-01 slocum into this one host: r740-01 The goal is to then retire those first two hosts. This post covers the initial bulk copy of all the data from two hosts into the one. In this post: FreeBSD 13.1 Each jail runs on its own zfs filesystem Not covered by this post Creating jails Creating snapshost Detailed usage of syncoid hosts not using zfs The overall process

Transferring a jail from one host to another Read More »

Scroll to Top