[Zope] CorruptedDataError: How to fix a corrupted
Dieter Maurer
dieter at handshake.de
Sat Aug 2 03:42:08 EDT 2008
Remy Pinsonnault wrote at 2008-7-31 15:48 -0500:
>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
This almost surely indicates some problem with you hardware.
Check it, be even more careful with backups, maybe replace doubtful
components.
"fsrecover" may help you to recover most of the data in
your current storage file (unless your backup is not already
sufficiently good to continue from this).
--
Dieter
More information about the Zope
mailing list