---------- X-Sun-Data-Type: text X-Sun-Data-Description: text X-Sun-Data-Name: text X-Sun-Charset: us-ascii X-Sun-Content-Lines: 33 Hi everyone, Allright, this is the time to summarize and thank one and all who responded to my problem. Well before that i would like to say something. I have just started working on Solaris (about 15 days back), so you'll can guess how much i know about solaris. Before i put this question on sun-managers i thought i wouldn't get any response because the problem seemed so silly. AND how surprised i was when i saw the responses. THANKS A LOT AGAIN. I have put the summary in the file attached. (One more thing - I tried out all solutions which i recd. This activity was shared by me and two of my colleagues as and when we got time. The problem was solved BUT i am not sure which solution worked out. SORRY !!!) regards Pravin These are the people to whom i owe my gratitude: tgorby@emc.com simon.reavell@bbsrc.ac.uk s.voss@terradata.de antonio.colombo@jrc.org ftv@xylogics.com don.williams@research.natpower.co.uk Kevin.Sheehan@uniq.com.au maclean@hasc.com spr@myxa.com jasonm@vsl.com vayda_tom@jpmorgan.com btirg@ui.uis.doleta.gov benji@hnt.com bismark@alta.jpl.nasa.gov SROTHENB@montefiore.org saeed@cyber.net.pk jharmon@telecnnct.com brian.styles@mrc-bsu.cam.ac.uk Marina.Daniels@ccd.tas.gov.au pricega@sweng.stortek.com cherub@lava.net roy.ramberg@geologi.uio.no bobby@nmhg.com ---------- X-Sun-Data-Type: default X-Sun-Data-Description: default X-Sun-Data-Name: SUMMARY X-Sun-Charset: us-ascii X-Sun-Content-Lines: 28 1. remove all mounts and check if the mount points contain any files. This may be done in single user mode. 2. Some times a process opens a large file and deleting this file does not free up the disk space until the last process closes the file or exits. Rebooting the comp may help. 3. Check for large files in /var/mail, /var/spool/mqueue, /tmp, /var/tmp, /dev/rmt,/usr/tmp, etc. 4. If you have any subdirectories in root that are not on a different partition,move them to /var and make a soft-link to them back to the root. 5. Try du -d / OR du -s * OR du -skd / to get the file sizes. 6. Use the lsof OR fuser commands to find out which process has opened a certain file. This is related to point no. 2 above. 7. Compare the output of du -skd / with that of df. If they do not compare properly then run fsck on root. If they compare properly then issue the command du -skd /* /.* | sort -n to see where all the space has gone. 8. To find file having size more than 1MB find . -size +1000000c -exec ls -l {}\; | awk '{print $4,$8}' | sort -r 9. script for checking file sizs #!/bin/ksh fo i in `df` do du -kd `echo $i | awk '{print $i}'` | sort -rn | head -10 echo "*************************" done