The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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
filesystem is full karthikosu UNIX for Dummies Questions & Answers 3 04-29-2009 09:22 AM
vxfs filesystem full! hungevntelecom HP-UX 1 09-30-2007 03:52 PM
/root filesystem size is full chomca Linux 6 06-04-2006 06:36 PM
Filesystem full - what to look for RTM SUN Solaris 0 03-09-2006 10:10 AM
Filesystem Full ilak1008 UNIX for Dummies Questions & Answers 16 07-18-2005 06:35 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-15-2005
szodiac szodiac is offline
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
  #2 (permalink)  
Old 07-15-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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.
  #3 (permalink)  
Old 07-15-2005
szodiac szodiac is offline
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
  #4 (permalink)  
Old 07-15-2005
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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.
  #5 (permalink)  
Old 07-15-2005
blowtorch's Avatar
blowtorch blowtorch is offline Forum Advisor  
Supporter
  
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,350
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?
  #6 (permalink)  
Old 07-15-2005
szodiac szodiac is offline
Registered User
  
 

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

Steve
Closed Thread

Bookmarks

Tags
sendmail

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:20 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0