recovering space in /var for doing recommended patches

From: Chris Hoogendyk (choogend@library.umass.edu)
Date: Wed Feb 25 2004 - 14:58:54 EST


I thought I was past this with the last server I rebuilt, but I have a
couple of servers that are close and one that has just hit the limit.
Not enough space in /var to do the recommended patches.

-----
|
| What can I do to recover space so that I can continue to maintain the
| patches for this system?
|
-----

Information about the system:
        E250, Solaris 8

/usr/local/8_Recommended# ./install_cluster

Patch cluster install script for Solaris 8 Recommended

        <snip>

Determining if sufficient save space exists...
Insufficient space in /var/sadm/patch to save old files.
Space required in kilobytes: 165076
Space available in kilobytes: 129595

/usr/local/8_Recommended# df -k
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t9d0s0 2569479 966694 1551396 39% /
/proc 0 0 0 0% /proc
fd 0 0 0 0% /dev/fd
mnttab 0 0 0 0% /etc/mnttab
/dev/dsk/c0t9d0s4 493688 364093 80227 82% /var
swap 4647280 24 4647256 1% /var/run
swap 4647600 344 4647256 1% /tmp
/dev/dsk/c0t10d0s7 31935114 1133686 30482077 4% /export/home
/dev/dsk/c0t9d0s3 3562474 2774524 752326 79% /usr/local

/usr/local/8_Recommended# cd /var

/var# du -ks *
19 TT_DB
375 adm
5183 apache
1 audit
2 crash
273 cron
31 dmi
27 dt
1 empty
1 inet
4 ld
1 ldap
66 log
273 lost+found
2 lp
3 mail
1 news
1 nfs
1 nis
2 ntp
1 opt
146 preserve
48 run
357241 sadm
26 saf
131 snmp
45 spool
4 statmon
197 tmp
10 uucp
23 yp

/var# cd sadm

/var/sadm# du -ks *
2 README
4789 install
256 install_data
4992 patch
328912 pkg
2897 prod
6512 smc
2 softinfo
127 system
8751 wbem

/var/sadm#

-----
|
| What would happen if I moved /var/sadm/pkg to a totally different
| partitian and then created a symlink to it? Would there be any
| problems with that? I'm assuming it isn't an active directory but is
| only accessed when I use one of the pkg commands. True?
|
-----

TIA

---------------

Chris Hoogendyk

-
    O__ ---- Network Specialist & Unix Systems Administrator
   c/ /'_ --- Library Information Systems & Technology Services
  (*) \(*) -- W.E.B. Du Bois Library
~~~~~~~~~~ - University of Massachusetts, Amherst

<choogend@library.umass.edu>

---------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:28:08 EDT