FreeBSD upgrade pool zroot

Today I successfully upgraded my FreeBSD home nas server from 10.3 to 11.0. This is the final release of version 11.0, though the official announcement is expected to be made on September 28. After the system upgrade, I need to also upgrade the 2 zpools (tank and zroot) so they can have new features. Upgrading tank was easy, all I needed to do was running this command: # zpool upgrade tank This system supports ZFS pool feature flags. Enabled the following features on 'tank': sha512 skein For zroot, in addition to running the above command (by replacing the actually zpool name to zroot), I also need to update the boot code. ...

September 27, 2016 · 2 min · 288 words · kenno

FreeBSD git fatal: Unable to find remote helper for 'https'

I just found out that git is not fully functional on my FreeBSD (11) box. It was installed from port (using portmaster git). I can clone a repo using SSH key, but not with HTTPS. I’m not quite sure if it’s always been this way. Here is how to fix it: Reinstall curl # pkg remove curl # portmaster curl Reinstall git # pkg remove git # portmaster git Why did I install git from port? Well, ‘cuz there is no binary package for FreeBSD 11 arm, which runs on my Raspberry Pi B+.

July 1, 2016 · 1 min · 94 words · kenno

PF firewall rule for DNS server

A reminder to readers, most of these blog posts are to remind me what I have done or fixed some problems. What works for me may not work for you. Most of the time, they aren’t even the best practice. Here’s a snippet of the PF firewall rule on my FreeBSD box which acts as a DNS server. Basically, the firewall opens up UDP port 53 to allow LAN access it. ...

July 9, 2015 · 1 min · 131 words · kenno

Kill all processes of a user

The following command will kill all processes belong to a single user on Linux. pkill -u username Credit: Linux – Kill all processes for a user

May 9, 2011 · 1 min · 26 words · kenno

Amarok 2.3.0 and PulseAudio Problem

Ever since I upgraded my Ubuntu desktop from 9.04 to 10.4, I have been having problems with Amarok dropping sound randomly. For example, if Amarok is playing the music and another program requires to use sound, Amarok will become silence. One solution to restore sound in Amarok is to kill pulseaudio and restart Amarok. It works, but very annoying. Fortunately, installing libxine1-gnome and configure Amarok to use Esound (ESD) instead of PulseAudio fixed the problem. ...

May 17, 2010 · 1 min · 81 words · kenno