Category: OpenZFS
Anything related to OpenZFS
Running out of vnodes while running Synth
Synth has frozen on more than one occasion while it was running commands like umount /var/synth/builders/synth-live/SL04/ccache and building more than one package at a time. Manually running commands such as df -ah appeared deadlocked since they never finished, and Ctrl+C never aborted the processes. A reboot was needed, well, I always ended up giving the […]
Read More → Running out of vnodes while running SynthZFS pool feature dynamic_gang_header
The ZFS pool feature dynamic_gang_header must be enabled manually.
Read More → ZFS pool feature dynamic_gang_headerReplace received ZFS properties with locally set properties
Unless your software or your own scripts treat local and received ZFS properties as equal, you should probably set the values of the received properties again. Here’s a one-liner to do it all for you.
Read More → Replace received ZFS properties with locally set propertiesCompression is now on by default in recent OpenZFS
Compression is now on by default in recent OpenZFS. If you have reservations, you should probably run a one-liner like this one before upgrading your OS, be it current or stable/13. If you are curious and want to know what will happen, run this one-liner.
Read More → Compression is now on by default in recent OpenZFSParallel ZFS mounting
Parallel mounting of ZFS filesystem was introduced in r344569 and is great for shortening the boot time. The change creates a cosmetic problem, partial ordering of the mounted filesystems. Here’s a shell script coercing the output of df(1) into a comprehensible listing.
Read More → Parallel ZFS mountingFirst attempt at running FreeBSD/amd64 12.0-BETA1
I spent the better part of the weekend upgrading my laptop to 12.0-BETA1. Three hickups has been discovered so far.
Read More → First attempt at running FreeBSD/amd64 12.0-BETA1Kernel panic due to memory corruption
This is what a kernel panic may look like when facing memory corruption.
Read More → Kernel panic due to memory corruptionUpgrading PostgreSQL from 9.5.7 to 9.6.3
All commands were done as the root user unless indicated. This time it was necessary to create a new ZFS hierarchy of filesystems rooted at /var/db/postgres/data96. Also, the new PostgreSQL DBMS runs as the postgres user, not the pgsql user.
Read More → Upgrading PostgreSQL from 9.5.7 to 9.6.3New memory for this server
The two old 4GB memory sticks were replaced by two new sticks of Kingston HyperX Savage DDR3 2133MHz 16GB, P/N HX321C11SRK2/16. ZFS’ ARC has never been happier.
Read More → New memory for this serverMigrating ZFS from mirrored pool to raidz1 pool
I have a few FreeBSD servers I want to virtualise. They all use ZFS for storage, so I figured a zfs send/receive operation would suffice. The tricky part is estimating how large the disks on the receiving end must be. The raidz1 pool will be comprised of three (virtual) disks, After trial and error, I […]
Read More → Migrating ZFS from mirrored pool to raidz1 pool