a blog about my passion, hobby and work

Archive for November, 2008

Store Time Machine backups on AFP

Off-course you want to use timemachine now when you’ve set up your AFP server, I found everything whats needed in 3 easy steps on macosxhints.com.

on your local mac in Terminal type the following command.

hdiutil create -size $SIZE -type SPARSEBUNDLE -nospotlight -volname “Backup of $HOSTNAME” -fs “Case-sensitive Journaled HFS+” -verbose ~/Desktop/$HOSTNAME_$MAC_ADDRESS.sparsebundle

$SIZE = the maximum size of the backups (example: 160G)
$HOSTNAME = the hostname of your mac
$MAC_ADDRESS = the mac address of your first ethernet card without the columns

now move that file you just created to the destination afp share you created for timemachine backups (with rsync, scp, mv,..)

now issue the following command in the Terminal if you are running a lower version than MacosX 10.5.2
You don’t need to sudo for this!

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

now to be sure restart your mac, (logoff and logon should be enough, but hey..)

You should now be able to select your afp share as a time machine backup location and even some say your backup can get corrupted but then you still have your zfs snapshots right? I’ll explain that later!

Tags: ,
Posted in Apple, Sun | No Comments »

Solaris as your Mac-NAS

If your first question is ‘why not linux?’ is that I truly think Solaris is a better and more mature operating system. Solaris has native ZFS wich is still a major issue with the GNU part of linux. Solaris is also very ready for what you expect from a NAS and you can download it for free. Solaris has nfs, cifs, iscsi, snapshotting, raid protection directly built into it. I’m also a big Mac user so I also installed the mdns responder (howl) so now my Solaris server nicely shows up in the Finder and I can see my AFP shares which are protected with ZFS selfhealing.

The following link helped me cofiguring it:
http://www.tek-ops.com/archives/20

This link helped me further understaning the user management and setting up the right permissions on the directories:
http://users.phg-online.de/tk/netatalk/doc/test-afpd/

[update 2009/march/01] here a link howto compile on opensolaris

http://darkdust.net/writings/opensolaris/compilingnetatalkonopensolaris

Tags: , , ,
Posted in Apple, Sun | No Comments »

Disclaimer

The opinions expressed on this site are my own personal opinions and do not represent my employer's view in anyway.

Formula1 is back!

in only 3 days !!!

GeoIP info

SweetFeeds RSS