FreeBSD

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 »

Bacula helps me solve a mergemaster problem which broke Bacula

Earlier today, I saw a bunch of emails like this: for <root@localhos>; Wed, 21 Jan 2015 20:32:36 +0000 (UTC) From: root@localhost.example.org (Bacula) Subject: Bacula: Copy Fatal Error of crey-fd Full Sender: bacula@bacula.example.org To: root@localhost.example.org Date: Wed, 21 Jan 2015 20:32:36 +0000 (UTC) Message-Id: <20150121203236.E993D2B28@bacula.example.org> X-Gm-Original-To: dan@example.org 21-Jan 20:32 bacula-dir JobId 197313: Warning: FileSet MD5 digest not found. 21-Jan 20:32 bacula-dir JobId 197313: The following 1 JobId was chosen to be copied: 197238 21-Jan

Bacula helps me solve a mergemaster problem which broke Bacula Read More »

Failure with freebsd-update; how not to upgrade your systems

freebsd-update is a great tool. It reduces my workload. It’s hard to use it wrong, but I have managed to do so. So have other people. Yesterday, three of us encountered the same issue. We did it wrong. We didn’t do it wrong yesterday. We did it wrong months ago, and now it’s come back to haunt us. NOTE if you ever see: Undefined symbol “ssh_explicit_bzero” on a FreeBSD server, you probably have

Failure with freebsd-update; how not to upgrade your systems Read More »

nullfs mounts in a jail

Just a note for myself. I had this kind of thing in /etc/fstab so I could share one installation of plugins and themes for WordPress. /usr/local/wordress/plugins /usr/jails/freebsddiary.org/usr/local/www/wordpress/plugins nullfs ro,nosuid,noexec,late 0 0 /usr/local/wordress/themes /usr/jails/freebsddiary.org/usr/local/www/wordpress/themes nullfs ro,nosuid,noexec,late 0 0 /usr/local/wordress/plugins /usr/jails/news.freshports.org/usr/local/www/wordpress/plugins nullfs ro,nosuid,noexec,late 0 0 /usr/local/wordress/themes /usr/jails/news.freshports.org/usr/local/www/wordpress/themes nullfs ro,nosuid,noexec,late 0 0 Then I moved them to their respective ezjail /etc/fstab.new_freshports_org files. They didn’t mount. Solution: remove ,late

nullfs mounts in a jail Read More »

Bacula on FreeBSD with ZFS

Full disclosure: I’m biased. I like the combination of PostgreSQL, FreeBSD, ZFS, and Bacula. In fact, I like it so much, I wrote the PostgreSQL backend for Bacula. Since then, I have been using Bacula for over 10 years. I have backed up to HDD, DDS, DLT, and SDLT. Bacula has proven to be reliable and it just works. Clients are available for a wide range of operating systems and Bacula doesn’t care

Bacula on FreeBSD with ZFS Read More »

pg_dump: aborting because of server version mismatch

Here’s something to be aware of. Update your PostgreSQL client on your Bacula client if it is used for backing up the Catalog. Ngaios just told me: FILE_AGE WARNING: /usr/backups/bacula/MyCatalog.dump is 45125 seconds old and 0 bytes I looked at the backup job from earlier today: 28-Dec 08:15 bacula-dir JobId 195194: shell command: run BeforeJob “/usr/local/bacula/make_catalog_backup.new MyCatalog” 28-Dec 08:15 bacula-dir JobId 195194: BeforeJob: pg_dump: server version: 9.4.0; pg_dump version: 9.3.5 28-Dec 08:15 bacula-dir

pg_dump: aborting because of server version mismatch Read More »

Scroll to Top