Skip navigation



Installing AFS on HP-UX 11.0

AFS Kernel Modifications

The modifications which allow the AFS Cache Manager to function must be incorporated into the kernel on every AFS client machine. On Hewlett-Packard systems, this is done by building a new kernel which incorporates AFS modifications.

Check contents of /usr/vice/etc/lib

This directory should contain the library for the AFS module software. You should get something that looks a lot like:

# ls /usr/vice/etc/lib
libafs.nonfs.a          libafs64.nonfs.a
Copy the AFS release driver
cp /usr/vice/etc/afs.driver /usr/conf/master.d/afs
Copy the AFS library file

For 32 bit HP-UX:

cp /usr/vice/etc/lib/libafs.nonfs.a /usr/conf/lib/libafs.a

For 64 bit HP-UX:

cp /usr/vice/etc/lib/libafs64.nonfs.a /usr/conf/lib/libafs.a
Modify /stand/system

Add AFS to the kernel's list of drivers and subsystems in /stand/system. Append a line that reads "afs" (no quotes) to the end of this file.

Build the kernel
cd /stand/build
Move the newly build kernel into place
cp /stand/vmunix /stand/vmunix.FCS
mv /stand/build/vmunix_test /stand/vmunix
Reboot the machine
Install the init script

Digital Unix needs to find the init script in two locations, like so:

cp /usr/vice/etc/afs.rc /etc/init.d/afs
chmod 555 /etc/init.d/afs
ln -s /sbin/init.d/afs /sbin/rc0.d/K800afs
ln -s /sbin/init.d/afs /sbin/rc2.d/S460afs
Return to the AFS Install Guide to set up your AFS cache and finish the installation.
Last modified Tuesday, 05-Dec-2006 09:11:37 PM

Stanford University Home Page