Category: OpenZFS
Anything related to OpenZFS
Replace 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 poolHidden properties in ZFS
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.
Read More → Hidden properties in ZFSReplacing drives on AMANDA server
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 […]
Read More → Replacing drives on AMANDA server