My endeavour with ZFS on NetBSD/amd64 6.0.1 in late February and early March 2013 hasn’t been very positive. The kernel panics every now and then, even during the simplest of operations such as creating a new directory on a ZFS filesystem. The system was installed using UFS for the root filesystem, and the system was rock solid all along until I set up two additional hard drives and a modest mirrored zpool. Maybe the hassle’s due to the fact I use VirtualBox and not real hardware. Besides NetBSD/amd64 seems a bit sluggish when run in VirtualBox, at least compared to FreeBSD/amd64. Continue reading ZFS on NetBSD/amd64 6.0.1
Not long ago it was announced that the FreeBSD ports tree will cease exporting its Subversion repository to CVS, and subsequently any use of CVSup for updating the ports tree will be discontinued by February 28th 2013.
FreeBSD’s main source tree repository has been served by Subversion since late May 2008 with every commit done in the Subversion repository being exported to the old CVS repository, but no date has been announced when that Subversion to CVS transfer will be shut down. Stay tuned for more information.
Nonetheless, this is a Good Time™ to begin the transition from CVSup to Subversion once and for all. And why not set up your own FreeBSD Subversion repository mirror for both the main source tree and the ports tree well ahead of the transition? Continue reading Making your own FreeBSD Subversion repository mirror
Someone found my old ZFS snapshot script rather useful and wanted to improve it. Unfortunately I used the GPLv2 license in the original script. To accommodate my friend, I have re-released the snapshot script under the 2-clause BSD license. Feel free to use whichever license, 2-clause BSD or GPLv2, that suits your needs. Continue reading Periodic ZFS snapshots – 2-clause BSD license
Someone named “Edward M” posted on the freebsd-questions mailing list a question of when should we create a ZFS filesystem. I didn’t reply to any of the messages, but I decided to write this post expressing my view.
In short, whenever a part of the filesystem hierarchy exhibits different characteristics, create one or more ZFS filesystems for that particular subtree. Continue reading When to create a ZFS filesystem?
If you trust your users well, you might feel slightly less anxious and allow your users to create new filesystems below their own home directories. Continue reading ZFS Delegated Administration in FreeBSD
One of my systems is running FreeBSD/amd64 9.0-STABLE and is using ZFS for all its worth. The amount of installed memory in this system is 8 gibibytes, which should be enough to please even ZFS’ ARC. After a few hours of uptime not everyone are happy, and one of those unhappy guys are GnuPG. Continue reading Not enough room for wired pages?
Credit goes to George Mamalakis for raising the issue and to Marco van Tol for the solution. I’m just a simple bystander in comparison to these two, fine gentlemen.
Below are my notes from a simple experiment performed late this evening demonstrating one way of making ZFS grow its pool size. The experiment is based on George Mamalakis’ setup as explained in his post linked above. Note, some system administrator’s liberty has been applied. Continue reading Resizing mirrored ZFS root pool
As I continue exploring the nearly endless possibilities within ZFS, I figured it would be neat to have periodic snapshots of my mail files. The “Interweb” is filled with various shell scripts for this purpose, and I guess another one won’t make much difference. Continue reading Periodic ZFS snapshots
The switch to new hardware finally happened. This is the first server to run FreeBSD/amd64 under my supervision. ZFS is used for all storage on this server. I chose to install the newly released FreeBSD/amd64 9.0-RELEASE, before upgrading to FreeBSD/amd64 9.0-STABLE by source. It’s just a matter of preference, given my 13-14 years of experience with FreeBSD. Continue reading New server and first attempt at running FreeBSD/amd64 with ZFS for all storage
Gone are the old MFS root fs image and the
sysinstall utility. To create a useable ZFS root fs from the 9.0-RELEASE DVD we must specify an alternate location for the temporary
zpool.cache file and an alternate mountpoint for the ZFS root fs by using a command like:
zpool create -o cachefile=/tmp/zpool.cache -m /tmp/zroot zroot /dev/gpt/disk0
Also, the FreeBSD distribution is now stored as a handful of xz compressed tar files in
/usr/freebsd-dist on the DVD. Everything else remain largely the same. The instructions below also apply to 9.1-RELEASE.
See http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot and http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/ for further details.
Keep on reading if you want my recipe for creating a ZFS root fs. Continue reading ZFS root fs on FreeBSD 9.0