Monthly Archives: February 2015

netatalk on Ubuntu Server 14.04 LTS

Did an installation of netatalk (AFP server in Linux) to support the macs at home. Wanted to setup network time machine for Pauline’s computers so that she has a backup of stuff.

I followed the instructions at:

http://netatalk.sourceforge.net/wiki/index.php/Install_Netatalk_3.1.7_on_Ubuntu_14.10_Utopic

And that seems to work well on a testing VM. The article is well written except for the fact that the required packages are not in a form which is easy to copy and paste. So here is the list of packages on my system.

build-essential libevent-dev libssl-dev libgcrypt11-dev libkrb5-dev libpam0g-dev libwrap0-dev libdb-dev libtdb-dev libmysqlclient-dev libavahi-client-dev libacl1-dev libldap2-dev libcrack2-dev systemtap-sdt-dev libdbus-1-dev libdbus-glib-1-dev libglib2.0-dev tracker libtracker-sparql-0.16-dev libtracker-miner-0.16-dev

Trip to the Science Centre

On Sunday, taking advantage that the kids have no classes, we went to the Singapore Science Centre. Here is Ernest posing with a sheep which is his Chinese Zodiac.

2015-02-22 11.31.01

We kind of like the food option in the Singapore Science Centre. They are priced very reasonably and they taste pretty ok. Here is Esther munching on her hot dog.

2015-02-22 12.24.46

ZFS on USB 3

The eSATA link to the external drive enclosures were still acting up. So I decided to switch them to USB 3 instead. It was quite easy actually, umount the drive, export using ZFS, swap the cables to USB 3, switch the enclosures to USB and import using ZFS. All these while the system was still up and running. Not bad.

And the performance is very reasonable as shown below:

Version 1.96 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
bob 31232M 42 34 154130 37 64967 12 458 99 178518 12 44.1 1
Latency 53046us 7613us 757ms 43532us 325ms 565ms
Version 1.96 ------Sequential Create------ --------Random Create--------
bob -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
 files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
 16 20318 63 +++++ +++ 18131 98 13984 96 +++++ +++ 31564 98
Latency 18721us 365us 435us 39175us 51us 334us