On Sun, 2002-08-04 at 12:14, s peram wrote:
> 
>  
>  s peram 
> wrote:Date: Sat, 3 Aug 2002 23:39:27 -0700 (PDT)
> From: s peram 
> 
> Subject: Re: Unaccounted space usage
> To: "C. Linus Hicks" 
> 
> 
> Hi Linus, 
> Thanks a lot for the reply. 
> I was wondering if there is any other method other than fsck as for fsck we need to 
>unmount the filesystem( please correct me if I'm wrong), this machine is a server and 
>can't be brought down.Is there any way to umount the fs for fsck as "umount -f /var " 
>generated error message "device is busy". 
> The size of the fs is grown today to 88% from 87% , I've taken the output of "du 
>/var" to a file and I plan to take the output tomorrow as I'm not understanding which 
>files are causing the increase in the size. Could there be a symbolic link which 
>could cause this problem? Is there any way we can find the list of symbolic links we 
>have on the system. 
> I'd appreciate if you can help me out. 

Try this. Do an lsof and look for files that have been deleted like this
one. It even shows the filesize:

gpm         779   root    1u   REG        8,6         4     101307 /var/run/gpmCQdE9x 
(deleted)

Please note that lsof recognizes that the file has been deleted and I'm
wondering if you have one or more large files in the same state. If that
is so, du would not report that space as being allocated. Using lsof can
point to the process that has a deleted file open and you may recognize
it as part of your specific applications environment.

Linus





-- 
redhat-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to