[nSLUG] EXT3 missing log file

John Stanton john at stantonnet.org
Tue Feb 9 14:38:22 AST 2010


Hi,

Thanks, So the file has been removed but the process still has it open. 
Know of anyway to get that file back?or view its contents?

John Stanton, RHCE
john at stantonnet.org


On 02/09/2010 02:05 PM, Ben Armstrong wrote:
> On Tue, 09 Feb 2010 13:49:57 -0400
> John Stanton<john at stantonnet.org>  wrote:
>    
>> I have a process I do not want to kill, but the filesystem is filling up
>> quickly(ext3 100Mb free, and the log file is missing), The process seems
>> fine. lsof is saying the file is still open.
>>
>> Any ideas why the log has disappeared? Or where it may have went?
>>
>> Any help would be great.
>>
>>      
> A simple test case demonstrating what's happening with two open
> terminals:
>
> terminal 1:
>
> synrg at lear:~$ cat>testfile
> blah
>
> terminal 2:
>
> synrg at lear:~$ rm testfile
> synrg at lear:~$ lsof |grep testfile
> cat       11005      synrg    1w      REG        8,1        5
> 27349088 /u11/u12/home/synrg/testfile (deleted)
>
> Until I close the cat in terminal 1 by issuing an EOF, the file
> exists.  It just doesn't have a directory entry pointing at it.
>
> Ben
>
> --
>   ,-.  nSLUG    http://www.nslug.ns.ca   synrg at sanctuary.nslug.ns.ca
>   \`'  Debian   http://www.debian.org    synrg at debian.org
>    `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
>    



More information about the nSLUG mailing list