<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=Arial size=2>HI, I use this script, it will truncate 
DataFS.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#!/bin/sh</FONT></DIV>
<DIV><FONT face=Arial size=2>cd /path-to-your-instance/var</FONT></DIV>
<DIV><FONT face=Arial size=2>../bin/zopectl stop<BR>rm -f 
Data.fs_ERR<BR>#clear<BR>cp -p Data.fs Data.fs_ERR<BR>rm -f 
Data.fs.index</FONT></DIV>
<DIV><FONT face=Arial size=2>#diagnostic run<BR>#../bin/runzope<BR>echo 
""<BR>echo 
"................................................................"<BR>echo 
"search for number after:"<BR>echo 
"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ..../var/Data.fs has 
invalid transaction header at NNNN"<BR>echo -n "put the number 
here:"<BR>read&nbsp; CISLO</FONT></DIV>
<DIV><FONT face=Arial size=2>python&lt;&lt;_EOF<BR>f = open("Data.fs", 
"ab")<BR>f.truncate($CISLO)<BR>f.close()</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>_EOF</FONT></DIV>
<DIV><FONT face=Arial size=2>#start serveru<BR>../bin/zopectl 
start<BR></FONT><FONT face=Arial size=2>dd if=Data.fs_ERR of=Data.fs.MISSING 
bs=1 skip=$CISLO</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>----- Original Message ----- </FONT>
<DIV><FONT face=Arial size=2>From: "Michele Marcionelli" &lt;</FONT><A 
href="mailto:michele.marcionelli@math.ethz.ch"><FONT face=Arial 
size=2>michele.marcionelli@math.ethz.ch</FONT></A><FONT face=Arial 
size=2>&gt;</FONT></DIV></DIV>
<DIV><FONT face=Arial><BR><FONT size=2></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2>Hello<BR><BR>2 hours ago I wanted to go to sleep... 
and "unfortunately" I noticed&nbsp; <BR>that our websites were offline since 
about 5 hours; I coudn't start&nbsp; <BR>zope anymore because the Data.fs seems 
to be corrupted. The quick&nbsp; <BR>solution has been to copy a 2 days old 
version of the Data.fs back...&nbsp; <BR>but I still hope to recover the old 
Data.fs.<BR><BR>But wenn I try to recover it with the fsrecover.py tool I get 
this&nbsp; <BR>error message:<BR><BR>2010-05-02 00:38:39 WARNING OFS.Application 
Duplicate Product name<BR>After loading Product 'Five' from 
'/scratch/ZOPE-BOT/current/Products',<BR>I skipped the one in 
'/scratch/local/app/zope/2.8.9.1-2.3.6/lib/python/ 
<BR>Products'.<BR><BR>2010-05-02 00:38:39 WARNING Init Class&nbsp; 
<BR>Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security&nbsp; 
<BR>declaration for nonexistent method 'getAttributeOfAllObjects'<BR>2010-05-02 
00:38:39 WARNING Init Class&nbsp; 
<BR>Products.LDAPUserFolder.LDAPUserFolder.LDAPUserFolder has a security&nbsp; 
<BR>declaration for nonexistent method 'getAttributeOfAllObjects'<BR>2010-05-02 
00:38:39 WARNING Silva Silva Documents require upgrading.<BR>There are Silva 
Documents which have not been upgraded to Silva 0.9.3.<BR>Upgrade via 
service_extensions.<BR><BR>2010-05-02 00:38:40 WARNING ZODB.FileStorage Ignoring 
index for / <BR>scratch/ZOPE-BOT/current/var/Data.fs<BR>2010-05-02 00:38:51 
CRITICAL ZODB.FileStorage /scratch/ZOPE-BOT/ <BR>current/var/Data.fs data record 
exceeds transaction record at <STRONG>949568131</STRONG><BR></FONT></DIV>
<DIV><FONT face=Arial size=2>......</FONT></DIV></BODY></HTML>