Category: FreeBSD
Anything related to FreeBSD
Unofficial errata: FreeBSD Mastery: ZFS
I bought the ebook edition of FreeBSD Mastery: ZFS this June. While the authors’ intentions are good, the 2015-05-21 edition has some errors and mistakes. The table below is nothing more than an unofficial errata of said book. Beware, what you find below might be due to my lack of understanding FreeBSD, ZFS, or the […]
Read More → Unofficial errata: FreeBSD Mastery: ZFSAdding 24 hour clock to FreeBSD’s hardstatus string for GNU Screen
FreeBSD gives the user an option of installing the file /usr/local/etc/screenrc with some sensible defaults along with GNU Screen, aka sysutils/screen. Among the defaults are a format string for the hardstatus line. It shows the date using yy/dd/mm notation and the time as a 12 hour clock. That may be fine in the English speaking […]
Read More → Adding 24 hour clock to FreeBSD’s hardstatus string for GNU ScreenUpgrading PostgreSQL 9.2.10 to 9.4.1
I decided to upgrade my PostgreSQL server today. I did this upgrade slightly different than the last time. All commands were done as the root user unless indicated.
Read More → Upgrading PostgreSQL 9.2.10 to 9.4.1Ascertaining installed ports for a specific architecture
When upgrading from one major version of FreeBSD to another, in my case from FreeBSD/amd64 stable/9 to FreeBSD/amd64 stable/10, it’s customary to upgrade the installed ports afterwards, beginning with ports-mgmt/pkg. I forcefully upgraded all installed ports using portupgrade -afpv, but the upgrade of lang/ruby21 failed miserably. I removed all traces of Ruby 2.1, i.e. ports-mgmt/portupgrade […]
Read More → Ascertaining installed ports for a specific architectureUpgrading lang/php5 to lang/php56
The 20150220 entry in /usr/ports/UPDATING contains no instructions for upgrading lang/php5 to lang/php56, at least not for us compiling our own ports. I learned the hard way using portupgrade what needs to be done. I have summarised my steps into the script below. Use the script as a guide, and if you do run my […]
Read More → Upgradinglang/php5 to lang/php56
Running dns/bind910 within a chroot after r382109
dns/bind910 gained native chroot support in r382109. Those of us who used to store the BIND files in /var/named/etc/namedb and ran BIND with /var/named as the chroot environment, must do five things: Rename the /var/named directory to something else, like /var/Named. This is to avoid upsetting make -C /usr/src delete-old and still retain the meaning […]
Read More → Runningdns/bind910 within a chroot after r382109
/dev/ada1 failing
smartd sent me not one, but two emails today, regarding /dev/ada1.
Read More → /dev/ada1 failingUEFI, GPT, Windows 10, FreeBSD 10, and rEFInd
Over the last few days have I experimented with UEFI and GPT in VirtualBox 4.3.26. The goal was to multiboot various operating system, in this case Windows 10 Enterprise Technical Preview 9926 x64 and FreeBSD/amd64 stable/10. First, I thought of persuading the UEFI firmware to always present its boot menu. It sure beats remembering to […]
Read More → UEFI, GPT, Windows 10, FreeBSD 10, and rEFIndUEFI booting FreeBSD/amd64 stable/10 in VirtualBox 4.3.24
VirtualBox 4.3.24 is out, so I wanted to try out the UEFI version of the latest FreeBSD/amd64 stable/10 snapshot. It didn’t go well until I realised something important, however strange it may be.
Read More → UEFI booting FreeBSD/amd64 stable/10 in VirtualBox 4.3.24Replicating an entire FreeBSD system using ZFS
I had a FreeBSD setup I wanted to replicate to another, identical computer. The source system runs ZFS and so should the receiving system. A recursive snapshot in combination with the zfs send and zfs receive commands proved most fruitful.
Read More → Replicating an entire FreeBSD system using ZFS