Filesystem corruption on 2.3 kernels

From: Savochkin Andrey Vladimirovich (saw@shade.msu.ru)
Date: Tue Jan 25 2000 - 10:51:28 EST


Hello,

I've seen an already mentioned type of filesystem corruption on my box:
a block of data from a directory overwrote a file.
fsck didn't find any filesystem inconsistency.
The system is UP, kernel 2.3.33.

The directory data written over the file data contained just two
entries ("." and ".."). The most interesting thing is that the inode
number of "." entry was the same as the inode number of the overwritten
file. ".." entry pointed to a directory in the bash source tree
compiled at that same time by another person.

I suppose that the reason the the corruption was the reordered write
operations when the directory was removed and the inode was reused.
Hope this helps,
                                        Andrey V.
                                        Savochkin
[Please Cc me when replying]

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:15 EST