KBDMUX_DFLT_KEYMAP is available for those of us using keyboard layouts different from the US/UK keyboard layout. This is very handy when running in single-user mode. Continue reading
KBDMUX_DFLT_KEYMAP is available for
I learned ZFS hides certain filesystem and pool properties from normal view. You need to know their names and specify them explicitly to get their values. Use the option
-p to get the raw value of the filesystem properties. E.g.
zfs get -p createtxg. Continue reading Hidden properties in ZFS
I spent some days last week converting our 32-bit AMANDA server to a 64-bit counterpart using spare but aged hardware. The former AMANDA server ran on very aged hardware in comparison. Going 64-bit also ment turning to ZFS-based storage.
Today, I replaced the two 320 GB first generation SATA drives with two 1 TB third generation SATA drives. The new drives, like their predecessors, are connected to the second generation SATA controller on the motherboard. Replacing the drives is nevertheless an improvement. Continue reading Replacing drives on AMANDA server
GnuPG 2.1.11 was recently added to the FreeBSD ports collection, in r409152. Deselecting the NLS option breaks the building of GnuPG. Continue reading security/gnupg breaks when deselecting NLS option
All commands were done as the
root user unless indicated.
su -l pgsql
pg_dumpall | bzip2 -9c > all-db-9.4.6-2016-02-17.sql.bz2
chmod 0600 all-db-9.4.6-2016-02-17.sql.bz2
make -C /usr/ports/databases/postgresql95-server config-recursive
pkg delete databases/postgresql94-contrib
portupgrade -fpvo databases/postgresql95-client databases/postgresql94-client
portupgrade -Nfpv databases/postgresql95-contrib
portupgrade -fpvo databases/postgresql95-server databases/postgresql94-server
portupgrade -fprv -x databases/postgresql95-client -x databases/postgresql95-server -x databases/postgresql95-contrib databases/postgresql95-client
mv /usr/local/pgsql/data /usr/local/pgsql/data0
su -l pgsql -c 'mkdir /usr/local/pgsql/data'
su -l pgsql
bzcat all-db-9.4.6-2016-02-17.sql.bz2 | psql -f - template1
# Transfer all relevant settings from /usr/local/pgsql/data0 to /usr/local/pgsql/data for pg_hba.conf and postgresql.conf
su -l pgsql
pg_dumpall | bzip2 -9c > all-db-9.5.1-2016-02-17.sql.bz2
chmod 0600 all-db-9.5.1-2016-02-17.sql.bz2
rm -R /usr/local/pgsql/data0
graphics/py-graphviz was renamed to
graphics/py-pygraphviz in r408353. Run these two commands to get back on track:
portupgrade -fpvo graphics/py-pygraphviz graphics/py-graphviz
portupgrade -fprvx graphics/py-pygraphviz graphics/py-pygraphviz
As of r294999 it’s possible to boot FreeBSD/amd64 stable/10 from ZFS pools on systems running UEFI firmware. Up until now I have booted my UEFI ZFS laptop using the older
boot1.efi boot loader with
/boot located on a UFS partition. Earlier today I updated my EFI System Partition (ESP), put
/boot back where it belongs, in the ZFS pool, and scrapped the UFS partition. Thanks to everyone who made this happen.
I tried a fresh install of MySQL 5.7 using ports on FreeBSD stable/10 the other day. All went smoothly until I needed to access the DBMS. The DBMS wouldn’t let me in, demanding a password I hadn’t set myself. Continue reading Bootstrapping MySQL 5.7 on FreeBSD
One of the old webservers at work, a Dell PowerEdge R200, crashed a couple of weeks ago. I suspect the six year old motherboard finally gave up. Continue reading Dell PowerEdge R320, JBOD, mfi(4), and gpart(8)
The strange combination of FreeBSD/i386, stable/10, OpenSSL from ports, optimized assembly code, Dell PowerEdge 1950, Intel Xeon X5450@3.00GHz, and BIOS 2.5.0, resulted in core dumps for all applications linked with OpenSSL from ports. Continue reading FreeBSD/i386, stable/10, OpenSSL from ports, optimized assembly code, Dell PowerEdge 1950, Xeon X5450@3.00GHz, and BIOS 2.5.0