Operating System - Tru64 Unix
1753601 Members
6649 Online
108796 Solutions
New Discussion юеВ

Re: Missing Disk Space

 
raMesh_44
New Member

Missing Disk Space

we have this alpha V5.1 tru64 running oracle 8.1.7 as reporting database that consists of a couple hundred processes. over the course of time, the /oracle8 file system runs out of space, but we are unable to locate where it's going. du -sk reports only ~2gb (out of ~3gb) used, but df -k shows ~3gb (100% filesystem full).

# du -sk /oracle8
2069987 /oracle8
#
# df -k /oracle8
Filesystem 1024-blocks Used Available Capacity Mounted on
oracle_domain#oracle 3102472 3086565 1056 100% /oracle8
#
# showfdmn -k oracle_domain

Id Date Created LogPgs Version Domain Name
3d195a3b.000e7201 Wed Jun 26 14:07:55 2002 512 4 oracle_domain

Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name
1L 3102472 1056 100% on 512 512 /dev/vol/rootdg/vol-dsk0h
#

if we stop all the reporting scripts, all the space comes back.

Any ideas on how we can track this down?
we don't have this lsof, try to download it from net, but our internet access restricted to use http only not ftp.





4 REPLIES 4
Venkatesh BL
Honored Contributor

Re: Missing Disk Space

> if we stop all the reporting scripts, all the space comes back.

It could be that some of the processes create temporary files and delete them immediately (without closing the fd). Eventhough the files don't show up in the file list, the process can continue to use (write to) it. When they finally exit, the file is deleted and the space is reclaimed by the file system.
raMesh_44
New Member

Re: Missing Disk Space

is there a way to know which script/process creating the files, so that we don't have to stop all the process but we can narrow down to the problem scripts.
Venkatesh BL
Honored Contributor

Re: Missing Disk Space

lsof would show it...you may try google for an http site for its download...
Orjan Petersson
Frequent Advisor

Re: Missing Disk Space

You can also try fuser(8), in particular with the -d option:

-d Reports any referenced files that have been deleted including the referencing PID and the block count for the file in 512 byte block units.