If you store files in the root file system of a zpool, it’s probably not so straightforward to access them from a different system, e.g. a live CD/DVD. Don’t panic. Here’s how. Continue reading What to do when you need files off the root file system of a zpool?
I’ve been experimenting with
carp(4) on FreeBSD/i386 10.0-CURRENT and FreeBSD/amd64 10.0-CURRENT for the past year or so.
carp(4) is no longer a pseudo-interface, but rather accessible on every conceivable interface. Continue reading CARP on FreeBSD 10.0-CURRENT
Today, I decided to upgrade PostgreSQL from 9.1.5 to 9.2.0 on one of my computers. Ironically, PostgreSQL 9.2.1 was released today, but until the FreeBSD ports hierarchy catches up, the most recent version available is 9.2.0, unless of course you want to do everything yourself. Continue reading Upgrading PostgreSQL from 9.1.5 to 9.2.0
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 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?
Jeg børstet støvet av noen tilårskomne filer forleden dag. Jeg fant et lite program som jeg skrev en gang i 2000. Programmet teller ned til slutten av Unix-epoken.
Den opprinnelige definisjonen av datatypen
time_t, 32-bit heltall med fortegn, vil få overflyt i midten av januar 2038. Moderne 64-bit OS som FreeBSD/amd64 9.0 har for lengst gått over til 64-bit
time_t. Bare ta en titt i fila
/usr/src/sys/amd64/include/_types.h, omtrent ved linje 83. Problemet med overflyten i år 2038 vil fortsatt gjelde alt utstyr og (binære) filformater som bruker den gamle definisjonen, slik som FreeBSD/i386 9.0. Ta en titt i fila
/usr/src/sys/i386/include/_types.h, omtrent ved linje 91. Den engelske utgaven av Wikipedia har en utfyllende artikkel om problemet.
Kildekoden for det søte, lille programmet mitt, er gjengitt under. Continue reading endofepoch.c
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
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