[Zope] CorruptedDataError: How to fix a corrupted

Remy Pinsonnault remypinsonnault at gmail.com
Thu Jul 31 16:48:42 EDT 2008


For an unknown reason, it seems our data.fs got corrupted last night. In the
event.log I can see the following:
------
2008-07-30T22:51:59 ERROR ZODB.Connection Couldn't load state for 0x086540
Traceback (most recent call last):
  File "C:\PloneExt\Zope\lib\python\ZODB\Connection.py", line 704, in
setstate
    self._setstate(obj)
  File "C:\PloneExt\Zope\lib\python\ZODB\Connection.py", line 740, in
_setstate
    p, serial = self._storage.load(obj._p_oid, self._version)
  File "C:\PloneExt\Zope\lib\python\ZODB\FileStorage\FileStorage.py", line
549, in load
    h = self._read_data_header(pos, oid)
  File "C:\PloneExt\Zope\lib\python\ZODB\FileStorage\format.py", line 193,
in _read_data_header
    raise CorruptedDataError(oid, s, pos)
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
------

We tried to use the fsrecover.py utility but it gives us the following error
when we run against the damaged data.fs: "input is not a file storage"

Now is there anybody that knows how we could restore our data.fs because we
have important data in it?

Thanks in advance

Remy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20080731/f9779697/attachment.html


More information about the Zope mailing list