2015

Upgrading from FreeBSD 9.3 to FreeBSD 10.1 using beadm and freebsd-update

In this post, I will use boot environments to upgrade an existing FreeBSD 9.3 to FreeBSD 10.1, and I will do this from within a chroot. Why? Because I can. You might want to read about my previous attempt and one or two, actually three, things I did to get ready for this. In the following commands, I clone the existing running environment to 10.1-RELEASE, then I mount it to /mnt, chroot into […]

Upgrading from FreeBSD 9.3 to FreeBSD 10.1 using beadm and freebsd-update Read More »

system/bootenv/default/var does not contain /var

Much like the system/bootenv/default/usr does not contain /usr issue I recently wrote about, I found the same issue with system/bootenv/default/var For this post, I have booted my FreeBSD 9.3 system from mfsBSD thumb drive. I will import the pool, but not mount it. # zpool import -N system I mounted the filesystem in question, and confirm that there is just one ZFS thing mounted: # mount -t zfs system/bootenv/default/var /mnt # mount -t

system/bootenv/default/var does not contain /var Read More »

Building for new version of system

I just upgraded from 9.3 to 10.1. I have not yet complete the install. My userland has been upgraded to 10.1 but my apps have not. I have a tmux session sitting like this: [root@slocum:~] # /usr/sbin/freebsd-update install Installing updates… Completing this upgrade requires removing old shared object files. Please rebuild all installed 3rd party software (e.g., programs installed from the ports tree) and then run “/usr/sbin/freebsd-update install” again to finish installing updates.

Building for new version of system Read More »

Fixing the system/bootenv/default/usr to be mounted

My goal is to make an easy way to upgrade with beadm by using the idea found in this post. I had a problem with my first attempt which I solved with the details in this post. boot mfsBSD This tool has very quickly become one of my favorites. I like how easy it is to pop in a USB drive and boot a live version of FreeBSD to do stuff. The import

Fixing the system/bootenv/default/usr to be mounted Read More »

now it’s not there, now it is

I started trying a Root-on-ZFS upgrade using beadm and quickly encountered an anomaly: no /usr/bin Then, it was there, then it wasn’t. I wasn’t sure of what steps I took to reproduce it. So I went through logs and eventually understood what happened. Let me show you. Here is what I did: # beadm create 10.1-RELEASE # beadm mount 10.1-RELEASE /mnt # mount -t devfs devfs /mnt/dev # chroot /mnt csh: Cannot open

now it’s not there, now it is Read More »

Modifying a ZFS root system to a beadm layout

Today I sat down to install some packages on a server I just configured for Ansible and iocage. I failed. My poudriere host runs FreeBSD 9.3 and can build for older version of FreeBSD but not newer versions. Solution: upgrade that host. I will be using beadm to allow me to keep my existing 9.3 and create a new 10.1 on the same host. I will be able to switch between the two

Modifying a ZFS root system to a beadm layout Read More »

slocum

This post has been replaced by a newer one. For reference, the previous post on this server is still available. This system was recently converted to a beadm layout. For future reference, this is the slocum server, which I use for various jails and services. The filesystems, well, some of them: And dmesg:

slocum Read More »

Please give me your LTO-4 or better tape library

I’ve been a contributor to the Bacula project since 2004 (about 10 years). My contributions have mostly in the PostgreSQL backend, regression testing, maintainer of the FreeBSD ports, and how-to guides and blog entries. My current tape library is a donated SDLT 220 unit and I am looking to upgrade it. Can I have your LTO-4/5/6 tape library please? I’m asking for a donation but I’m also being choosy. Space and power considerations

Please give me your LTO-4 or better tape library Read More »

Scroll to Top