Contributed by jose on from the distributed-filesystems dept.
That said, this is how easy it is to use AFS on OpenBSD.
- set "afs=YES" in rc.conf
- mkdir /afs
-
fill in a value into /etc/afs/ThisCell.
it turns out that this isn't a specific IP or even a hostname, it's just a site name. so i entered file13.ucs.ualberta.ca when all i needed was ualberta.ca. you'll see that these lines start with a ">" ... use those - reboot.
$ ls /afs andrew.cmu.edu cs.cmu.edu openafs.org ua athena.mit.edu glue.umd.edu rpi.edu ualberta.ca cern.ch ipp-garching.mpg.de sks umich.edu citi.umich.edu nersc.gov stacken.kth.se wam.umd.eduI've used this method to install packages and snag other software mirrored on AFS-available volumes. Now you can play with it, too.
If you're not using OpenBSD-current, you have to recompile your kernel with the option "AFS" enabled.
UPDATE
Note that this is only anonymous AFS, which lets you snag files from public AFS servers.
(Comments are closed)
By Bob Beck () beck@openbsd.org on mailto:beck@openbsd.org
you are going to change to use a different
cell than "ualberta.ca" as your top level.
the ThisCell file in current contains "ualberta.ca"
ThisCell should contain the name of an AFS cell,
not a hostname as you enter in your example here
jose - that is just plain wrong.
Comments
By jsyn () on
jsyn
Comments
By X () on
Comments
By Jan J () on
This means that /afs/example.com/foo on my machine is the same as /afs/example.com/foo on your machine.
/afs normally contains alot of so called cells. Each cell has its own set of servers. This gives easy access to files around the globe like this morning I entered my home directory in /afs/example.com/home/janj and confituned to download an OpenBSD snapshot from /afs/stacken.kth.se/ftp/pub with a simple "cp".
Comments
By X () on
By Jim () on
I'm curious though if an yone has the OpenAFS server running on OpenBSD. Did you also have to use Kerberos? Are the file syncronizations done securely (does AFS encrypt)? How about the pathing (Transarc versus ?)? Did you mangle the kernel or use the loadable module?
Thanks for any input/advice you have to offer.
Comments
By Jan J () on
AFS can use a very simple crypto (fcrypt?), arla uses this by default nowdays.
I don't understand what you mean by "How about the pathing (Transarc versus ?)?"
There is no need to touch the kernel and there is no kernel module needed as GENERIC has support for XFS.
By Anonymous Coward () on
is there any known way to compile the
included milko? (/usr/src/usr.sbin/afs/src/milko/)
Comments
By Jan J () on
By Anonymous Coward () on
included milko? (/usr/src/usr.sbin/afs/src/milko/)