FreeBSD

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 »

Another zroot install

I just converted another server from UFS to ZFS. I used this script as my starting point. I dropped to a shell as soon as I booted from the live CD. Then I fetch my script: fetch –no-verify-peer http://bit.ly/1MvhRXH mv 1MvhRXH install.sh I didn’t run the script. I modified it to suite my new conditions. The install files were not available. I put and exit around line 84. Then I ran my script:

Another zroot install Read More »

zfs send | zfs receive as non-root

In this post, I am using FreeBSD 9.3 but what I do here should have wide application, especially the errors I encounter. I believe in backups. Not just rsync, but multiple copies and in multiple places. RAID is not a backup. rsync is not a backup. The goal of this post is to send a copy of a ZFS filesystem to a remote server. The server in question is already backed up in

zfs send | zfs receive as non-root Read More »

Cannot find any appendable volumes – Bacula

A problem arose today which I have never seen before. I do not know what caused it and I do not know precisely how I fixed it. I am using Baclua 7.0.5 on FreeBSD 9.3 I found this email today: This is Bacula asking for more ‘tape’. I say tape, because that is an easy analogy to follow. In effect, the tape library has no tapes to which Bacula can place this backup.

Cannot find any appendable volumes – Bacula Read More »

Scroll to Top