I have a Solaris 2.8 server here that is running low on space on its
/USR/ directory. I have spoken with the person that originally
installed the OS and it appears that to make sure they had everything
installed they installed everything with all options when installing
the OS.
I have used "df- k" to look at the disk configuration:
# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 962571 164270 740547 19% /
/dev/dsk/c0t0d0s6 1987399 1883060 44718 98% /usr
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t0d0s1 962571 105284 799533 12% /var
swap 315232 24 315208 1% /var/run
swap 358688 43480 315208 13% /tmp
/dev/dsk/c0t0d0s4 11395244 4501202 6780090 40% /userfiles1
/dev/dsk/c0t0d0s5 962571 16343 888474 2% /opt
/dev/dsk/c0t0d0s7 638479 291 580725 1% /export/home
and format and describe command gives:
Current Disk = c0t0d0
<SUN18G cyl 7506 alt 2 hd 19 sec 248>
From looking at the Solaris 2.8 documentation a Solaris 2.8 install
requires as a minimum 1.7Gb of disks space and the /usr directory on
this sever only has 1.9Gb which makes the /USR mount short on space.
I have a couple of questions which are basically freeing space on /USR
or adding storage:
1. Is there anyway of removing packages that are not needed from
Solaris?
2. Are there any large files that maybe in /USR that can be removed?
3. How difficult would it be to add a disk and at this space to
/USR?
I will read the documentation etc on this but would like to know if
others
think this is a viable option.
Any hints or info would be appreciated.