Re: file open -> disk full -> save -> file 0 byte

Eric Sandeen <[email protected]>
Newsgroups gmane.comp.file-systems.ext3.user
Message-ID <[email protected]>
Ralf Gross wrote:
> Hi,
> 
> a user had a file open when the disk ran full. He then saved the file
> and now it's size is 0 byte (ext3). I don't know much more about this,
> but he asked me if there is any chance to get the data of this file
> back?

I'm not sure how that happens; writes to the file should have hit ENOSPC;
ext3 doesn't even have delalloc to worry about so.

Did the application check the write return value?

(or maybe it was mmap writes, and since ext3 has no pg_mkwrite, it'd
just get lost, unfortunately...)

-Eric
 
> Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.