The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
vxfs filesystem full! hungevntelecom HP-UX 1 09-30-2007 12:52 PM
filesystem is full karthikosu UNIX for Dummies Questions & Answers 2 03-13-2007 03:21 PM
/root filesystem size is full chomca Linux 6 06-04-2006 03:36 PM
Filesystem full - what to look for RTM SUN Solaris 0 03-09-2006 07:10 AM
Filesystem Full ilak1008 UNIX for Dummies Questions & Answers 16 07-18-2005 03:35 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 07-15-2005
Registered User
 

Join Date: Jul 2005
Posts: 4
/tmp filesystem full

I am running AIX 3 4.

When I do a df I get:

Filesystem 512-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 32768 10232 69% 1309 16% /
/dev/hd2 917504 86360 91% 19744 18% /usr
/dev/hd9var 131072 67712 49% 617 4% /var
/dev/hd3 65536 0 100% 72 1% /tmp
/dev/lv00 196608 35064 83% 899 4% /usr/welcome
/dev/lv02 32768 20568 38% 580 4% /usr/ob
/dev/lv01 1441792 656008 55% 4127 1% /home
/dev/lv04 425984 294376 31% 1319 1% /apps
/dev/lv03 1605632 238520 86% 1187 1% /u1
/dev/lv05 425984 272424 37% 9315 9% /u2
/dev/lv06 2031616 1188840 42% 751 1% /wk

This shows the /tmp is 100% used. I have looked in every /tmp directory I can find (by using 'find') and there are no big files filling up the space. How do I find the files that are filling up the space? I have already deleted all the 'core' and smit.log files. This happened a week ago and I cannot free up the space. Can anyone please help?

Thanks!

Steve
Reply With Quote
Forum Sponsor
  #2  
Old 07-15-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,327
Code:
cd /tmp
du -sk * | sort -nr | more
This will give you a full listing of directories/files in /tmp, in the order of the space they occupy. Then you can check out the individual files/directories and purge.
Reply With Quote
  #3  
Old 07-15-2005
Registered User
 

Join Date: Jul 2005
Posts: 4
The only files I can find of any size are in the /tmp/vgdata/rootvg:

# cd vgdata
# ls
rootvg
# ls -l rootvg
total 112
-rw-r--r-- 1 root sys 336 Jul 08 23:32 hd2.map
-rw-r--r-- 1 root sys 24 Jul 08 23:32 hd3.map
-rw-r--r-- 1 root sys 12 Jul 08 23:32 hd4.map
-rw-r--r-- 1 root sys 12 Jul 08 23:31 hd5.map
-rw-r--r-- 1 root sys 144 Jul 08 23:31 hd6.map
-rw-r--r-- 1 root sys 12 Jul 08 23:31 hd8.map
-rw-r--r-- 1 root sys 48 Jul 08 23:32 hd9var.map
-rw-r--r-- 1 root sys 72 Jul 08 23:32 lv00.map
-rw-r--r-- 1 root sys 528 Jul 08 23:32 lv01.map
-rw-r--r-- 1 root sys 12 Jul 08 23:32 lv02.map
-rw-r--r-- 1 root sys 588 Jul 08 23:32 lv03.map
-rw-r--r-- 1 root sys 156 Jul 08 23:32 lv04.map
-rw-r--r-- 1 root sys 156 Jul 08 23:33 lv05.map
-rw-r--r-- 1 root sys 744 Jul 08 23:33 lv06.map

I'm not familier with .map files - can I safely delete these?

Steve
Reply With Quote
  #4  
Old 07-15-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,664
You need to use a program like fuser or lsof on /tmp. Files do not always have names. If a process has a file open, the space will not be released just because you unlink the only file name it has.
Reply With Quote
  #5  
Old 07-15-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,327
Yes, it is possible that a process is stuck in a loop and writing continuously to a log or a debug file. Can you check 'top' and see if any process is taking up an unusual amount of CPU %age?
Reply With Quote
  #6  
Old 07-15-2005
Registered User
 

Join Date: Jul 2005
Posts: 4
There doesn't seem to be a 'top' command on this system.

Steve
Reply With Quote
  #7  
Old 07-15-2005
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,664
Well, use whatever tools AIX has to see processes. If this has been going on for a week, the process will be that old. Can you reboot? That will free the space.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0