/var filesystem is full


 
Thread Tools Search this Thread
Operating Systems AIX /var filesystem is full
# 1  
Old 11-05-2009
/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  
Old 11-05-2009
The directory "/var/tmp" is called this way for a reason. Check before with "lsof", "w" or a similar tool to find out if a process accesses the file. If not delete them.

Without knowing which temp files you are talking about it is difficult to know if you need root access or not. Generally speaking, you can delete every file you have write access to, either via direct ownership or group membership or because the file is "world"-writeable. If neither is the case oyu need root. So judge for yourself.

I hope this helps.

bakunin
# 3  
Old 11-05-2009
Your should however exercise judgment before removing files in /var/tmp, especially those you don't know the origin.

Unlike /tmp which contains files that can be removed abruptly, for example after a reboot, /var/tmp is a persistent storage and only the applications that created files there are supposed to clean up them. Applications might loose some data if you remove files that belongs to them.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Solaris

Filesystem Full

In our shop we have to run a batch cycle. Every so often while we are running batch we get a filesystem full situation that causes batch to stop or slow down. Anyway, the practiced procedure is to look for large files and zip them. This takes a lot of time. We are in a sun solaris environment. What... (1 Reply)
Discussion started by: Harleyrci
1 Replies

4. UNIX for Dummies Questions & Answers

Reduce /var filesystem

hi guys I need to create a temporary Filesystem and the only way to do it is to reduce /var and create a new filesystem 3GB size df -h .... ... /dev/mapper/VolGroup00-var 9.7G 1.5G 7.8G 16% /var my question is according to google search I need to umount the... (5 Replies)
Discussion started by: karlochacon
5 Replies

5. UNIX for Dummies Questions & Answers

filesystem is full

Hello everybody, a very basic question. Inspite of me deleting huge files in a filesystem(AIX 5.3) in oracle folder, the filesystem when i check using df -k still shows 100% full. Does that mean there is a process still pointing to the files which i deleted. how do i work around this. Thanks!... (3 Replies)
Discussion started by: karthikosu
3 Replies

6. Red Hat

/ filesystem getting full

Hi All, How do I increase the root filesystem? It's getting full. / 90% Here's the break down, below 232 dev 5624 tmp *6764 bin 16860 root *19680 sbin *20436 lib64 28329 boot *47992 etc 150012 var *254540 lib 651708 home *2445044 usr (5 Replies)
Discussion started by: itik
5 Replies

7. UNIX for Dummies Questions & Answers

filesystem full

my root filesystem is eventually full "/dev/rdsk/c1d0s0" as a result i cannot boot to the operating system, i booted into the fail safe mode to check the space using df -h command i discover that it is eventually full. Also to my amazement i found that i cannot see the filesystem which mounted on... (1 Reply)
Discussion started by: seyiisq
1 Replies

8. AIX

/var 100% full

What to do if /var filesystem in Aix is completely full ? (2 Replies)
Discussion started by: kkhan
2 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

Filesystem Full

I noticed that whenever something is printed from my workstation, the available disk space in the /dev/dsk/c0t0d0s0 decreases considerably. Hence, after using my workstation for sometime, I encounter an error message: "Filesystem Full" that prevents me from printing any further. Is there a way to... (16 Replies)
Discussion started by: ilak1008
16 Replies
Login or Register to Ask a Question