/opt file system full !!!

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users /opt file system full !!!
# 1  
Old 01-17-2010
/opt file system full !!!

Can anyone help me in cleaning /opt filesystem..
i have checked all the options and i have cleared all the logs and the total size of the files in /opt is shown as 1.8GB were as the size of /opt is 4.8GB

but wen i run the command
# df -h /opt
it gives


Please help me..its urgent
# 2  
Old 01-17-2010
run the command:

du -sh /opt/*

and have a look at the output...
# 3  
Old 01-17-2010
i tried " du -sh /opt/* " and the total size comes to only 1.8 GB

but when i check for the total file system usage it shows as 4.7GB used
# 4  
Old 01-17-2010
can you reboot the server? if not, check for open files in /opt which are used by a running application...
# 5  
Old 01-17-2010
i cant reboot the server as its a critical backup server.
i tried using " lsof | grep /opt " , but that gives a big list.
# 6  
Old 01-18-2010
Those files would be devices , there would be a dodgy process which would be occyping the space, try top and prstat -a to identify the process.
# 7  
Old 01-18-2010
Originally Posted by kjamsheed
i tried using " lsof | grep /opt " , but that gives a big list.
lsof is your friend.


lsof | grep /opt | grep deleted


lsof +L1

Both of the above will show the process which has the deleted files opened. So until you stop the process, the space will not be freed.

$ lsof | grep /tmp | grep deleted
less      22073        root    4r      REG        8,1     1948    1504213 /tmp/file (deleted)

$ lsof +L1
less    22073 root    4r   REG    8,1 1948     0 1504213 /tmp/file (deleted)

From man page:
A specification of the form ``+L1'' will select open files that have been unlinked.

Find out which is the process, and do the required stuff.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

File system full, swap

hi all I am having a t5240 server in that zone is there in /var/adm/messages i am getting the following warning WARNING: /zoneroot/zonename-zone/root/tmp: File system full, swap space limit exceeded if a swap is getting full what can i do. Please use code tags next time for your... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

2. Emergency UNIX and Linux Support

ufs_aolloc.c :/ file system full

I am running Ubix SVR4, namely MP-Ras unix. I installed a remote printer and now I keep getting an error that looks like this: ufs_alloc.c /: file system full I have deleted the remote printer but am still receiving this error. I know it has something to do with the fact that my / partition... (3 Replies)
Discussion started by: Rutgerncas
3 Replies

3. Red Hat

File system full, but not really.

Hey all, What do you think mostly happened in the following situation? I have a Red Hat 5.5 server. Someone, somehow, managed to get two .nfs000.... type files that totaled over a terabyte in size. I removed them and thought things were back to normal. Then I started getting complains from... (2 Replies)
Discussion started by: geelsu
2 Replies

4. Solaris

file system full

hello Even though I am not out of inodes or of space, the /var/adm/messages shows messages: file system full I am doing now fcsk -m (400G) and I am still waiting to see the fragmentation results (should I add another option to df to have a faster output?) Do you have any other hints... (6 Replies)
Discussion started by: melanie_pfefer
6 Replies

5. Solaris

file system full

I am receving following Error message in /var/adm/messages "NOTICE: alloc: /: file system full" Disk space usage is as beklow: df -k $ Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d10 76678257 56962561 18948914 76% / /proc ... (8 Replies)
Discussion started by: Asteroid
8 Replies

6. Solaris

Full file system?

I read the sticky and thought of a script I use on a regular basis. Since unless you patch/upgrade the df command on solaris you have a very tought time teling how full the system truly is. Output looks like $ biggest.sh /tmp Filesystem kbytes used avail capacity Mounted... (0 Replies)
Discussion started by: meyerder
0 Replies

7. Solaris

File system full?

Hi, I just started working with UNIX on an old semi-fossilized Sun workstation which I use to process LOTS of images,however, I just started to get an error message that the file system is full and then my shell tool or/and text editor freeze up. Help? (8 Replies)
Discussion started by: Bend
8 Replies

8. UNIX for Advanced & Expert Users

Full File System

Hi All, There was a background process running on a Solaris 2.8 machine, and appeared to have filled all available disk-space. I done a killall, and upon re-booting found that the file system had filled up, and will not boot as normal as a result. For example, I'm getting /usr/adm/messages: No... (8 Replies)
Discussion started by: Breen
8 Replies

9. UNIX Desktop Questions & Answers

file system full

When I try to log in as root I get the following message realloccg /: file system full sendmail :NO Queue:low on space (have 0,SMTP-DAEMON needs 101 in /var/spool/mqueue) What should I do? (1 Reply)
Discussion started by: hopeless
1 Replies
Login or Register to Ask a Question

Featured Tech Videos