how to check the zodb consistency?
Hello I have a working well site and I would like to check the ZODB (just for fun), I have used the fsrecover.py with no luck, including on a fresh empty Data.fs (it end up with a Data.fs size==0). What is the correct way? Thanks Gilles
What are you trying to check? Jake -- http://www.ZopeZone.com Gilles Lavaux said:
Hello
I have a working well site and I would like to check the ZODB (just for fun), I have used the fsrecover.py with no luck, including on a fresh empty Data.fs (it end up with a Data.fs size==0).
What is the correct way?
Thanks
Gilles
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Well, a consistency check. As all the site is inside one file, I would like to be sure that this file is completely correct, no unknown objects, broken transactions or other possible problem I am not aware of. In precedent zope versions they was a fstest.py inside a utilities/ZODBTools folder, but it tell me that my Data.fs is truncated, at a very small offset. Is this utility still valid with the actual zodb version? gilles ----- Original Message ----- From: "Jake (aka BZ)" <jake@zopezone.com> To: "Gilles Lavaux" <gilles.lavaux@esa.int> Cc: <zope@zope.org> Sent: Friday, November 14, 2003 2:36 PM Subject: Re: [Zope] how to check the zodb consistency?
What are you trying to check?
Jake -- http://www.ZopeZone.com
Gilles Lavaux said:
Hello
I have a working well site and I would like to check the ZODB (just for fun), I have used the fsrecover.py with no luck, including on a fresh empty Data.fs (it end up with a Data.fs size==0).
What is the correct way?
Thanks
Gilles
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
I think it does a consistancy check when it starts up. I think there is also something in fcrecover.py which can find errors. Jake -- http://www.ZopeZone.com Gilles Lavaux said:
Well, a consistency check. As all the site is inside one file, I would like to be sure that this file is completely correct, no unknown objects, broken transactions or other possible problem I am not aware of.
In precedent zope versions they was a fstest.py inside a utilities/ZODBTools folder, but it tell me that my Data.fs is truncated, at a very small offset. Is this utility still valid with the actual zodb version?
gilles
----- Original Message ----- From: "Jake (aka BZ)" <jake@zopezone.com> To: "Gilles Lavaux" <gilles.lavaux@esa.int> Cc: <zope@zope.org> Sent: Friday, November 14, 2003 2:36 PM Subject: Re: [Zope] how to check the zodb consistency?
What are you trying to check?
Jake -- http://www.ZopeZone.com
Gilles Lavaux said:
Hello
I have a working well site and I would like to check the ZODB (just for fun), I have used the fsrecover.py with no luck, including on a fresh empty Data.fs (it end up with a Data.fs size==0).
What is the correct way?
Thanks
Gilles
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
On Fri, Nov 14, 2003 at 09:39:17AM -0500, Jake (aka BZ) wrote:
I think it does a consistancy check when it starts up.
I think there is also something in fcrecover.py which can find errors.
there's also checkbtrees.py which comes with the standalone ZODB distribution. It only checks (as the name implies) btrees. -- Paul Winkler http://www.slinkp.com Look! Up in the sky! It's PORPOISE IN A CAN! (random hero from isometric.spaceninja.com)
Gilles Lavaux wrote at 2003-11-14 10:16 +0100:
I have a working well site and I would like to check the ZODB (just for fun), I have used the fsrecover.py with no luck, including on a fresh empty Data.fs (it end up with a Data.fs size==0).
"fsrecover" was broken in 2.6.1. Use either the 2.5.1 or 2.6.2 version. Besides, there "fsrefs" and "fscheck" (and maybe others). Please search the mailing list archives (search for "fsrefs" (maybe "fsref"?). -- Dieter
Gilles Lavaux wrote:
I have a working well site and I would like to check the ZODB (just for fun), I have used the fsrecover.py with no luck, including on a fresh empty Data.fs (it end up with a Data.fs size==0).
Recent versions of Zope have included broken fsrecover scripts that always "fixed" a ZODB by making it 0-sized. Get either a new one or an old one. I think fstest from such versions should still work, but am not certain. --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
participants (5)
-
Dieter Maurer -
Gilles Lavaux -
J. Cameron Cooper -
Jake (aka BZ) -
Paul Winkler