Solaris Easy Access Server 3.0 Installation Guide

Increasing Disk Space

Although the Web Start WizardTM checks the available disk space based on your installation selections, make sure you have sufficient disk space available before installing the SEAS products. Use Table 2-2 to determine your disk space needs. Note that disk space and memory requirements are approximate and may vary.

Table 2-2 Disk Space Requirements by Directory
 Directory Total Required Disk Space (in megabytes)
/ 3
/usr/opt 20.6
/opt 130.3
/opt/SUNWconn 28.6
/usr/adm 2.6
/usr/sadm 8.6
/usr 60.8
/etc 0.6
/var 52.0 + 1.5 per 1,000 directory entries
/var/opt 15
 Minimum Total disk space 323.6

Determining Current Disk Space Usage

When you suspect not having sufficient disk space in the directories in which SEAS product files are installed, you may find the following commands useful in determining the current disk space usage.

The Display Filesystem Statistics command: df -k

The Report on Disk Usage command: du directory

Display Filesystem Statistics: df -k directory

The command df -k directory displays the used and available disk space for each of the mounted file systems. The example indicates that 101061 kilobytes are available in /opt

For example: df -k /opt could display something like the following:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s5     123455   10049  101061    10%    /opt

Report on Disk Usage: du directory

The command du directory reports the amount of disk space used by all files and subdirectories underneath one of more specified directories, listed on a per subdirectory basis. Disk usage is reported in blocks. The numbers on the left indicate the number of blocks of disk space occupied by the directory. In our example, the /opt/SUNWits directory occupies 18456 blocks of disk space.

For example: du /opt could display something like the following:

18456   /opt/SUNWits
2       /opt/SUNWleo/include
4       /opt/SUNWleo

Removing Unwanted Applications

SEAS products can be uninstalled using one of the following:

Uninstalling Using the Product Registry

Use the Solaris Product Registry to uninstall applications you no longer need or use to free necessary disk space. See "Uninstalling Products From the Registry" for step-by-step instructions. You find the name of the uninstaller program in the right panel of the Product Registry after selecting the application to be removed in the left panel.

Uninstalling Using the jre Command

To remove a SEAS application using the jre command, you can run the uninstaller from the application.

For example, to remove Solstice DiskSuite, you would type the following command at the superuser system prompt:

jre --cp /var/sadm/prod/com.sun.DiskSuite/607900099 uninstall_DiskSuite_4.2.class

Uninstalling Using the pkgrm Command

You must be logged in as root and you must know the name of the packages that make up the application. For example, to remove Sun Directory Services, which consists of the packages SUNWlicsw, SUNWlit, SUNWsds, and SUNWsdsc, using the pkgrm command, you would type the following command:

pkgrm SUNWlicsw SUNWlit SUNWsds SUNWsdsc

To find the name of the application packages, use the command pkginfo | grep application_name. Then use the pkgrm command as indicated above.