Before you begin the update, you should be sure
your target disk has the space needed to accommodate the new OS
as well as your data files and all needed backups on disk. HP-UX
10.20 requires 271 MB, including NFS, LAN software and X Windows.
ACE can require 50-100 MB more. This means you should plan on a
minimum of 625 MB for a server system. Disk usage numbers will vary
with the SD-UX installation by a factor of 20%.
In general, the Disk Space Analysis phase of swinstall
will warn you if disk space is insufficient. However, Disk Space
Analysis does not currently check /var/adm/sw,
where the database is kept, for temporary space usage.
If you are running your system as LVM and /var
comprises a single volume, be sure you have configured adequate
space in the /var
volume to accommodate the update files. Update requires a minimum
amount of free disk space of at least 20 MB to allow for the generation
of the installed software database, among other things.
Determine your free disk space in /var
by running bdf /var
and bdf /var/tmp.
The default temporary directory is /var/tmp.
Delete any files in this volume that you don't need.
If necessary, set the environment variable TMPDIR
to point to a directory that has sufficient space. For example (for
a directory dir):
After setting this variable, export it, and kill and restart
the swagentd
process.
Ensure that your system has at least 30
MB of swap enabled before starting the update process.
You can use swapinfo -mt
and check the total free MB of swap space. Or you can use SAM to
see how much swap you currently have. If you do not have enough
swap, you can enable filesystem swap for the duration of the update
(until system reboot) by using the following command:
/usr/sbin/swapon /var/tmp |
The directory /var/tmp
can be used if there is sufficient free space. If /var/tmp
is full, then specify a different volume that has enough free space
to satisfy the swap space requirement.
Alternatively, you can shut down unneeded programs to make
more memory and swap space available. This also improves performance,
especially in 16 MB systems.