/var 100% full


 
Thread Tools Search this Thread
Operating Systems AIX /var 100% full
# 1  
Old 01-03-2008
/var 100% full

What to do if /var filesystem in Aix is completely full ?
# 2  
Old 01-03-2008
delete some large files to free up space. Make sure you know what your deleting first. /var/adm/ras is a good place to start looking.
# 3  
Old 01-04-2008
How to determine which file is filling a filesystem

frank_rizzo has already told you some places to start looking, here are some other prospective candidates:

/var/tmp
/var/spool

and here is a - generally working - way to analyze which file(s) are using up the most space in a full filesystem:
  • go to the starting directory of the directory hierarchy you want to analyze (in your case /var)
  • issue the command "du -ks * | sort -nr | more"
    you will get a list of files and directories sorted by the space (in kb) they are using. Directories values are the sum of all the files contained in them.
  • if you can identify a file you can delete at this level - solution. Otherwise you will see the directories which use the most space on top of the list - change into one after the other and repeat the process there until you have a solution.

hope this helps

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies

2. Shell Programming and Scripting

Csh , how to set var value into new var, in short string concatenation

i try to find way to make string concatenation in csh ( sorry this is what i have ) so i found out i can't do : set string_buff = "" foreach line("`cat $source_dir/$f`") $string_buff = string_buff $line end how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies

3. UNIX for Dummies Questions & Answers

/var/audit full

Hi, I have Solaris-10 (having multiple non global zones running on it). Its /var is getting full to 100% and I can see, there are files getting added to /var/audit. There are large in number, so even if I clearing them, it is filling /var. In past 24 hours, there are 53000 files are added. I am... (1 Reply)
Discussion started by: solaris_1977
1 Replies

4. HP-UX

/var partition full need help

My /var partition is almost utilized ... Here am not sure where to release space now OS/model : HP-UX B.11.11 U 9000/800 # bdf /var Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol9 6144000 6142176 1824 100% /var <root@pb>/var # du -sk * | sort -n |... (20 Replies)
Discussion started by: Shirishlnx
20 Replies

5. Solaris

Difference between /var/log/syslog and /var/adm/messages

Hi, Is the contents in /var/log/syslog and /var/adm/messages are same?? Regards (3 Replies)
Discussion started by: vks47
3 Replies

6. AIX

/var/spool/squeue gets full frequently

hi, im new in aix administration.. months ago, I received mails, everytime a cron was executed. but now, I don't receive these mails.. and the /var/spool/squeue, gets full frequently. i'd like to know more information about this, what can i do?? sendmail is up, because, I executed ps -ef |grep... (5 Replies)
Discussion started by: fdeivis
5 Replies

7. AIX

/var filesystem is full

Hi, Is there a way to clear the temp files from /var/tmp? Is root access required to delete the files? Thanks, Narayan (2 Replies)
Discussion started by: narayanv
2 Replies

8. Shell Programming and Scripting

Maintain full path of a script in a var when sourcing it from a different script

Hi All, I've searched through the forum for a solution to this problem, but I haven't found anything. I have 2 script files that are in different directories. My first script, let's call it "/one/two/a.sh" looks like this: #!/bin/sh IN_DIR=`dirname $0` CUR_DIR=`pwd` cd $IN_DIR... (4 Replies)
Discussion started by: mrbluegreen
4 Replies

9. HP-UX

i-node full on /var

Can anyone tell me how would I troubleshoot when /var becomes full with inodes? This is on HP11.11 system. Where used is 92%, ifree is 1891 iuse is 88%. Thanks. (3 Replies)
Discussion started by: catwomen
3 Replies

10. UNIX for Dummies Questions & Answers

/var/ypfiles-> Group file full

I need to add users to the group file for accounts, however - due to too many characters/users already in a group the file errors out when I run /var/yp->make on it. Any ideas/solutions? Is it possible to create a new group, then reference its alias in the existing full group? Will this show... (1 Reply)
Discussion started by: wlayne
1 Replies
Login or Register to Ask a Question