[OpenAFS-devel] Re: AFS & IA-64?
Derrick J Brashear
shadow@dementia.org
Wed, 20 Mar 2002 12:10:54 -0500 (EST)
On Wed, 20 Mar 2002, Todd L Miller wrote:
> > Todd, have you had any success in building an OpenAFS client for ia64?
>
> Some success, but I realized I had no idea how to set-up an AFS
> client, and I haven't had time to learn yet. Could this list point me to
> the FAQ/quickstart guide?
Here's a quick and dirty guide, assuming you
configured with transarc paths and are using Linux with a non-RedHat
kernel; it expects you will have the cache in whatever partition is
mounted at /usr and that you're in the root of your build tree.
mkdir -p /usr/vice/etc
mkdir -p /usr/vice/cache
echo "/afs:/usr/vice/cache:50000" > /usr/vice/etc/cacheinfo
[assumes 50mb cache. fill in with your own value]
echo "dementia.org" > /usr/vice/etc/ThisCell
[assumes you're in the dementia.org cell. fill in with your own]
(cd /usr/vice/etc; wget http://www.central.org/dl/cellservdb/CellServDB)
[make sure your cell is in this CellServDB. if not, add it and ask your
admin to mail cellservdb@central.org with an entry to add]
mkdir /afs
insmod src/libafs/MODLOAD-`uname -r`/libafs-`uname -r`.o
src/afsd/afsd
you now have a running client with afs mounted on /afs. if you want to
shut it down:
umount /afs
src/afsd/afsd -shutdown
rmmod libafs-`uname -r`
-D