OS X 10.7 Lion, Time Machine & Netatalk 2.2
- July 23rd, 2011
- By Steffen L. Norgren
- Write comment
With the release of Apple’s Mac OS X 10.7 Lion, many people will notice that Time Machine fails to play nicely with their current Netatalk servers. There is a relatively simple solution for those of us who run Netatalk servers on Linux servers and NAS devices. However, if you’re relying on a NAS-vendor such as FreeNSD, you may need to wait for them to offer an update to ensure compatibility with Mac OS X 10.7. Apparently the major reason for this break in compatibility is a lack of a “replay cache”, which was introduced in AFP 3.3.
Anyhow, below I’ve created a simple guide on how to setup Netatalk 2.2 from source on most any Linux system. I am using Gentoo in this guide, but the basics should be the same on any other system. Currently Gentoo has not merged Netatalk 2.2 into portage, so we’ll have to download the source from Netatalk itself.
Download Netatalk 2.2 (Unstable): http://netatalk.sourceforge.net
Extract the contents of the file and cd to the directory:
# tar xvf ./netatalk-2.2-beta4.tar.bz2 # cd netatalk-2.2-beta4/
To build the binaries, first run the program ./configure in the source directory. This should automatically configure Netatalk for your operating system. If you have unusual needs, then you may wish to run:
# ./configure --help
to see what special options you can enable. The most used configure options are:
The most used configure options are:
- –enable-[redhat/suse/cobalt/netbsd/fhs]
This option helps netatalk to determine where to install the start scripts. - –with-bdb=/path/to/bdb/installation/
In case you installed Berkeley DB in a non-standard location, you will have to give the install location to netatalk, using this switch.
Now run configure with any options you need. For Gentoo we’ll use the following configure options:
# ./configure --enable-gentoo --enable-zeroconf
