file system full in Sun Solaris 9 sparc


 
Thread Tools Search this Thread
Operating Systems Solaris file system full in Sun Solaris 9 sparc
# 8  
Old 09-06-2008
clear up any log files at /var/adm
u can zip them and empty logs by using the ">" command
also ... you can remove the core files using :

"find / -name core -exec rm -f {} \"

...high chances...this will reduce the treshold...good luck
# 9  
Old 09-06-2008
Java df -k

An earlier df -k shows that this system does not have separate /usr, etc. slices, running:
# cd /
# du -sk ./* | sort -n
will show which sub-directory of root contains the the most files, you may then CD into it and repeat, looking for core files, large archive files (either tar, zip, etc.) that may be moved off the system without breaking it.
# 10  
Old 09-08-2008
I am sending the output of /usr,/var and /opt

# df -k /usr
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 1733247 372051 83% /

# df -k /var
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 1733247 372051 83% /

# df -k /opt
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 2148263 1733247 372051 83% /


now what i have to do to solve this problem
# 11  
Old 09-08-2008
You're in the best position to know what to remove or not than any of us here dude..
Under /var,
check the /var/crash/`hostname`, remove or save the core files (if any to tape of disk if you need it.

under /var/tmp
remove all the unnecessary or unneeded files, usually ppl would unpack the patches in there before applying patch to the system. If the patches is already installed, removed the whole /var/tmp/9 or /var/tmp/10/ dir (based on your OS version)

under /var/adm
check all the messages file. messages is the latest followed my messages.0 , messages.1 and so on.. Tar/zip up the old logs in there..

under /opt,
check if unwanted packages are in there uncompressed .. If the package is already installed in the system, you might back it up somewhere.. again the same..
under /usr .. usually I wont touch anything there first..
# 12  
Old 09-14-2008
there will be huge logs at /var/adm and /var/logs

lastlog and wtmpx at /var/adm

syslog at /var/logs

compress those logs...
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Start /SYS on SUN SPARC does not start machine [SUN SPARC ENTERPRISE T-5240]

-> start /SYS Are you sure you want to start /SYS (y/n)? y Starting /SYS ]-> show HOST /HOST Targets: bootmode diag domain Properties: autorestart = reset autorunonerror = false bootfailrecovery = poweroff ... (29 Replies)
Discussion started by: z_haseeb
29 Replies

2. Solaris

Sun Solaris SPARC Installation Suggetion plaese

Hello Team, I am new to Sun Solaris. I badly need some help, how to install solaris sparc 8 on simics 3.0.31. I am using my Acer laptop with 320 GB HD, 8 GB of RAM, Intel Core i5 processor 430M. Windows 7 already installed on it. 1.Can i make Dual partions on this laptop with Win7 and... (7 Replies)
Discussion started by: faseeh
7 Replies

3. Solaris

Adding new hard drives on Sun SPARC T5440 server with Solaris 10

I need to add two new hard drives of 300 GB capacity to a SunSPARC T5440 server. The server currently has two hard drives of 146 GB each. How do I add the new drives to the existing UFS? What are the procedures involved in setting this server with the new hard drives? I am very new to Solaris... (6 Replies)
Discussion started by: ramatnmcc
6 Replies

4. Hardware

Works sun solaris sparc with hp storageworks p2000 fc?

I need to know if is possible connect by hba a sun 5120 solaris 10 sparc with hp Storageworks p2000 and works with luns. (3 Replies)
Discussion started by: bombe
3 Replies

5. Solaris

SUN SPARC rebooting problem, after Solaris 10 installation

Hi All, I had install the solaris 10 into the SUNFIRE V890 server, after installed, it keep rebooting. I wish to enter the OK mode again, and install back the Solaris 10. i had try the "break" button and "stop+A" button, but all fail. kindly advice... (4 Replies)
Discussion started by: SmartAntz
4 Replies

6. UNIX for Dummies Questions & Answers

Info Needed in Seting up An apache Web Server on A Sun Sparc with Solaris 8

I need help in the form of the complete procedures necessary in setting up an Apache web server on a Sun Sparc running Solaris 8 David Johnston P.S New to the Unix arena (1 Reply)
Discussion started by: David Johnston
1 Replies
Login or Register to Ask a Question