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?
George Mamalakis was having trouble with ZFS not detecting and utilizing his resized GPT
freebsd-zfs partitions. Marco van Tol came to the rescue with a corrective procedure.
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
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
I moved a few months ago. Moving from time to time is probably a Good Thing™. While going through my stuff, I came across a printout of this posting to the
freebsd-stable mailling list back in 2007. Continue reading Colourful console in FreeBSD
At work we have native IPv6 connectivity along with IPv4. We’ve had IPv6 for nearly 5 years and IPv4 for the past 17 years.
On 2011-08-16, I grabbed an IPv6-only snapshot of FreeBSD/i386 9.0-BETA1 dated 20110727 and started experimenting with internet life using only IPv6. This particular machine is a virtual machine running inside VirtualBox 4.1.2 on my Windows 7 desktop at work. Continue reading FreeBSD 9.0 as IPv6-only