| Release Notes | ||
|---|---|---|
| <<< Previous | Upgrading Server and Client Machines to AFS 3.6 | Next >>> |
It is conventional to store many of the programs and files from the AFS binary distribution in a separate volume for each system type, mounted in your AFS filespace at /afs/cellname/sysname/usr/afsws. These instructions rename the volume currently mounted at this location and create a new volume for AFS 3.6 binaries.
Repeat the instructions for each system type.
Authenticate as an administrator listed in the /usr/afs/etc/UserList file.
Issue the vos create command to create a new volume for AFS 3.6 binaries called sysname.3.6. Set an unlimited quota on the volume to avoid running out of space as you copy files from the distribution.
% vos create <machine name> <partition name> sysname.3.6 -maxquota 0 |
Issue the fs mkmount command to mount the volume at a temporary location.
% fs mkmount /afs/.cellname/temp sysname.3.6 |
Prepare to access the files using the method you have selected:
If copying files from the CD-ROM, mount the CD-ROM for this machine's system type on the local /cdrom directory. For instructions on mounting CD-ROMs (either locally or remotely via NFS), consult the operating system documentation. Then change directory as indicated.
% cd /cdrom/sysname |
If accessing the distribution electronically, download the necessary file or files. If necessary, use commands such as gunzip and tar xvf to uncompress and unpack the distribution. Place the contents in a temporary location (temp_afs36_dir) and change directory to that location.
% cd temp_afs36_dir |
Copy files from the distribution into the sysname.3.6 volume.
% cp -rp bin /afs/.cellname/temp
% cp -rp etc /afs/.cellname/temp
% cp -rp include /afs/.cellname/temp
% cp -rp lib /afs/.cellname/temp |
(Optional) By convention, the contents of the distribution's root.client directory are not stored in AFS. However, if you are upgrading client functionality on many machines, it can be simpler to copy the client files from your local AFS space than from the CD-ROM or from IBM's Electronic Software Distribution system. If you wish to store the contents of the root.client directory in AFS temporarily, copy them now.
% cp -rp root.client /afs/.cellname/temp |
Issue the vos rename command to change the name of the volume currently mounted at the /afs/cellname/sysname/usr/afsws directory. A possible value for the extension reflects the AFS version and build level (for example: 3.5-bld3.32). If you do not plan to retain the old volume, you can substitute the vos remove command in this step.
% vos rename sysname.usr.afsws sysname.usr.afsws.extension |
Issue the vos rename command to change the name of the sysname.3.6 volume to sysname.usr.afsws.
% vos rename sysname.3.6 sysname.usr.afsws |
Issue the fs rmmount command to remove the temporary mount point for the sysname.3.6 volume.
% fs rmmount /afs/.cellname/temp |
| <<< Previous | Home | Next >>> |
| Obtaining the Binary Distribution | Up | Upgrading the Operating System |