[Zope] CorruptedDataError: How to fix a corrupted
Martijn Pieters
mj at zopatista.com
Thu Jul 31 17:21:17 EDT 2008
On Thu, Jul 31, 2008 at 10:48 PM, Remy Pinsonnault
<remypinsonnault at gmail.com> wrote:
> For an unknown reason, it seems our data.fs got corrupted last night. In the
> event.log I can see the following:
> CorruptedDataError: Error reading oid 0x086540. Found
> '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
> at 10020462
You have 2 pieces of info there, the oid and the file position. You
could use fsdump to verify the oid and position, then truncate the
file at that position. Short recipe (may be outdated a bit) of the
procedure:
http://kelpi.com/script/018315
I certainly have performed truncations like that in the past.
--
Martijn Pieters
More information about the Zope
mailing list