[Zope] CorruptedDataError: How to fix a corrupted

Remy Pinsonnault remypinsonnault at gmail.com
Fri Aug 1 13:01:39 EDT 2008


Thanks Martijn for your answer.

I tried fsdump but it did not work I got a FileStorageFormatError...

Is there any other way I can obtain the needed paramater (position) for the
truncate function where the CorruptedDataError occured?

Another question, is there a way of extracting all data or transaction
between two dates?

On Thu, Jul 31, 2008 at 4:21 PM, Martijn Pieters <mj at zopatista.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080801/64ac5e7c/attachment.html


More information about the Zope mailing list