ZFS boot environments

I had some passing familiarity with ZFS in Linux and it seemed interesting. On FreeBSD, ZFS is more core to the platform. There is lot to it but the concepts aren’t difficult. One of the core elements of ZFS are datasets. A dataset is sort of like a partition but more flexible. You can use them for snapshots and other things. A list of the datasets in a system is produced with zfs list:

Read More

Ubuntu to FreeBSD

Having been an Ubuntu user for many years, a new OS is taking some getting used to. Although there is a nice quickstart guide for Linux users on the FreeBSD website, there are still some things that are muscle memory for me that is requiring some more time. They are mostly around shell differences. sh is definitely not bash. I understand why bash isn’t in the base system due to licensing and a preference for simple solutions, but sh has a few limitations that seem to bite me.

Read More

First BSD config

I was poking around on my recently installed FreeBSD system and I noticed a strange message in /var/run/dmesg.boot that said est: CPU supports Enhanced Speedstep, but is not recognized.. That seemed odd, so I looked it up and found some information about what it was. It seems that the system was not set in the BIOS to allow the OS to manage the performance profile. It also led me to look at powerd to enable the performance mode.

Read More

IT yak has been shaved

After a good experience running FreeBSD on LXD, I decided to install it directly on the server. As I discovered earlier, it seemed to be a good idea to update the storage adapter to support IT mode. I found a great set of instructions and updated the H310 card to LSI IT firmware. Essentially, it was just following a recipe. It took about an hour or so with much of that time spent creating the bootable vFlash partitions(pdf) and rebooting the server a few times.

Read More

Updated hugo syntax

I hadn’t updated my theme for a while. I have been getting deprecation warnings on a few things for some time and they turn into deprecation errors in the next version of Hugo, so it was time to fix them. The hardest part was making git understand that I wanted to use an ssh-key to update the submodule. Updating should have been as simple as: cd theme\harbor $ git add .

Read More

FreeBSD...now with networking

I sorted out the DHCP issue I saw yesterday. There was a discussion on this topic that was very helpful. There was a checksum problem in the request for an address. The fix was to apply sudo ethtool --offload lxdbr0 tx off to disable checksum offloading on the bridged network in LXD. This site has a nice description of the what that means: Checksum offloading is usually beneficial as it allows the checksum to be calculated (outgoing) or verified (incoming) in hardware at a much faster rate than it could be handled in software.

Read More

FreeBSD at last

I was finally able to get FreeBSD installed on LXD: rob@bsd:~ $ uname -a FreeBSD bsd 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 After all of the Ubuntu upgrades, I found that I had done some strange configuration on my LXD system. It’s been a bit since I looked at it and instead of trying to fix it, I just uninstalled (sudo snap remove --purge lxd) and reinstalled. After LXD was installed and configured, I downloaded the FreeBSD 14.

Read More

More upgrades and a large yak

Another interesting problem cropped up in my quest to install BSD. The presence of a RAID adapter in my server that presents the disks as a virtual disk. Based on some research, it seems that ZFS doesn’t do well unless the adapter can use Initiator Target (IT) mode which presents each disk individually to the operating system. Since ZFS seems to be the way to go for a modern FreeBSD installation, I would like to use it.

Read More

Some drama

I updated my desktop to Ubuntu 24.04.1 LTS the other day. Although everything seemed fine, I was unable to get the system to suspend. Both from the command line (systemctl suspend) and the GUI, it would blank the screen and log me off but not suspend. Since it used to work, that was definitely something to do with the upgrade. After searching around a bit based on the logged messages, I found a somewhat related bug.

Read More

Networking yaks

I received my used eero and switch to set up a network connection for my to-be BSD server. Adding the eero to my existing network was easy. It did require a reset of the new-to-me eero and then an update of the entire network to the latest software version which took a few minutes. After that, I shutdown the Raspberry Pi I had setup the other day and put the eero in its place.

Read More