I wasn’t planning on upgrading my server to the newly released Ubuntu 10.04 (codenamed Lucid Lynx) just yet but after reading many positive reviews I decided to give it a shot. It is after all a Long Term Support release which means that Canonical (the company behind Ubuntu) will be supporting this version for three years as opposed to the usual 18 months.
I decided on using Ubuntu’s inbuilt Update Manager as I’ve never experienced any issues with it so far. I also have everything backed up so I could always roll back to 9.10 if anything happened. The upgrade took an age. Bear in mind though that my server is a rather ageing 2GHz single core Celeron with 512MB DDR RAM. It’s not fast by anyone’s standards. I left it running over night and when I woke up everything had installed correctly and restarted.
This isn’t going to be a review or anything as I use my server for serving files and media so I rarely actually look at the desktop.
Now it seems that Netatalk (the open source implimentation of Apple’s AFP file sharing protocol) is included in this version of Ubuntu which upgraded my 2.0.4 installation. I had tried upgrading Netatalk a couple of weeks ago and gave up due to a username and password prompt when connecting to shares that didn’t recognise either my server’s login details or my Macbook Pro’s. I decided to give 2.0.5 another go seeing as it was already installed.
My shares had stopped working so I ventured into the AppleVolumes.default config file and reentered my shares. They are…
/media/storage/Media "Media" /media/storage/backup "Back Up"
For some reason this didn’t seem to work. When using ‘Connect to server’ from my Macbook Pro I was able to choose which share to mount but once chosen it would fail.
I spent most of the morning fiddling with options and restarting Netatalk. Finally I realised that mounting the root directory would work correctly.
I tried /media which again worked. Even
worked. But as soon as I added the final folder it would refuse to mount. I have had to leave it for the time being. Hopefully someone more clued up on the complexities of Netatalk will be able to shed some light on things.
On the plus side it means that I can finally use Time Machine with the share. This was the feature touted for 2.0.5 which tempted me to upgrade in the first place. Time Machine is far more picky in Snow Leopard than it was on Leopard so just using the terminal command…
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
doesn’t do the trick anymore. Snow Leopard required a lot more work before Netatalk 2.0.5 came along. Now Netatalk basically pretends it’s a authorised share such as a computer running Leopard or a Time Capsule.
So my upgrade was a half success. On the plus side I can now back up over the network. On the down side I now have to make do with the one network share instead of the nicely organised ‘Media and ‘Back Up’ ones I had previously. Admittedly the ‘Back Up’ wasn’t really doing much without Time Machine so I supposed I haven’t lost out too badly.