Dennis Allison wrote at 2003-12-8 02:36 -0800:
Something appears to have corrupted one of my Data.fs files. Rather than being at the end of the file it's in the middle, the diagnostic being
CorruptedTransactionError: .../zope/instances/chi/var/Data.fs data record exceeds transaction record at 95261
Examining the Data.fs with fsrecover.py shows the problem:
: remove regular file `Data.fs'? y 1670 1186 error copying transaction: global name 'file' is not defined looking for valid txn header at 1014987 error reading txn header: invalid transaction length, 0, at 1014987 ...
That does not look good. Looks like your OS (or your filesystem or your disk) did something bad (I saw similar effects when my disk started to die).
The problem (question) is how to recover as much of the Data.fs as possible. Here the trick of truncation does not work. The problem is near the middle of the file...
Try "fsrecover" (not the 2.6.1 version, use 2.5.1 or 2.6.2!). See how much it is able to recover. -- Dieter