welcome: please sign in

Revision 6 as of 2007-12-22 02:45:33

Clear message
Page Locked

MemberManual / TransferringFiles / OpenAFS / MacOSX

1. OpenAFS for Mac OS X

1.1. Install OpenAFS

Obtain the latest openAFS client for Mac OS X. A stable version is available from the following link for 10.5 Leopard.

http://www.apple.com/downloads/macosx/unix_open_source/openafs.html

Newer versions are available from http://www.openafs.org/macos.html for 10.4 Tiger and 10.5 Leopard.

You'll need to reboot after installing the client.


About OpenAFS

An open source implementation of the Andrew File System (AFS) protocol, including clients, servers and a virtual filesystem kernel driver. It integrates with the bundled Kerberos support in MacOS X to allow for a seamless user experience while accessing files in authenticated sessions.


1.2. Configure OpenAFS

The installer will setup the afs files in /var/db/openafs and set your machine to start afs on boot.

After restarting your system edit /var/db/openafs/etc/ThisCell. The file should contain a single line of text:

hcoop.net

The file initially is identical to ThisCell.sample so you don't need to make a backup copy before editing. The same holds true for CellServDB, it's the same as CellServDB.master.

Now you'll need to make sure the cells you want to use are listed in the CellServDB file. Add the following lines:

>hcoop.net
69.90.123.67                    #deleuze.hcoop.net
69.90.123.70                    #krunk.hcoop.net

Now reboot and try the configuration out.

Try this from a terminal:

user$ sudo /Library/StartupItems/OpenAFS/OpenAFS restart
Password:
Stopping AFS
Unmounting /afs
umount: /afs: not currently mounted
Shutting down afsd processes
/Library/StartupItems/OpenAFS/OpenAFS: line 172:   383 Bus error               $AFSD -shutdown 2>&1 >/dev/console
Unloading AFS kernel extensions
Starting OpenAFS
Loading AFS kernel extensions
kextload: /var/db/openafs/etc/afs.kext loaded successfully
Starting afsd
/Library/StartupItems/OpenAFS/OpenAFS: line 172:   391 Bus error               $AFSD $OPTIONS
/Library/StartupItems/OpenAFS/OpenAFS: line 172:   394 Segmentation fault      $CONFIG/afssettings

Hmmmm. So something went wrong. No clue yet how to fix this.

Feel free to help out here, this is as far as we go. If you get something to work add some notes here

2. arla for Mac OS X


Arla is a free AFS implementation. The main goal is to make a fully functional client with all capabilities of AFS as formerly sold by Transarc and today available as OpenAFS. Other stuff, such as servers and management tools are being developed, but currently not considered stable.


2.1. Obtain latest arla port

Get the latest source code file from the project site and build it yourself:

http://www.stacken.kth.se/project/arla/

Alternatively, go to

http://trac.macports.org/projects/macports/browser/trunk/dports/net/arla/Portfile

or

http://arla.darwinports.com/

which have the advantage of being easier to install.

Follow the notes above, and it should "just work" without the "Bus error" or "Segmentation fault".

If you do have success, edit this page and let the rest of us know about it.