[Zope-dev] Fw: 2gb file size

Andy McKay andym@ActiveState.com
Fri, 3 Nov 2000 15:39:54 -0800


Ive tried truncating the file and then running fsrecover.py, but get:

  File "ZODB\FileStorage.py", line 1530, in read_index
    if read(4) != packed_version: raise FileStorageFormatError, name
FileStorage.FileStorageFormatError: q:\var\Data.fs

As a desperation I commented out line 1530 and reran. It runs through the
entire file and reduces the data.fs to 1k. Am I totally hooped? I thought
ZODB could handle being truncated, ive never had an problems reading from a
data.fs even when my box has blown up. Anyway looks like Im talking to
myself here...


--
  Andy McKay, Developer.
  ActiveState.
----- Original Message -----
From: "Andy McKay" <andym@ActiveState.com>
To: <zope-dev@zope.org>
Sent: Friday, November 03, 2000 1:28 PM
Subject: [Zope-dev] Fw: 2gb file size


> Hmmm ive looked at fsrecover.py and its not happy either. Anyone else
solved
> this problem? Im on Win2k BTW.
>
> --
>   Andy McKay, Developer.
>   ActiveState.
> ----- Original Message -----
> From: "Andy McKay" <andym@ActiveState.com>
> To: <zope-dev@zope.org>
> Sent: Friday, November 03, 2000 1:04 PM
> Subject: 2gb file size
>
>
> > My database has suddenly ballooned to 2 gig's stopping my Zope from
> running.
> > Are there any utils to delete the last transaction or so?
> >
> > This is kinda urgent... :(
> >
> > Thanks.
> >
> > --
> >   Andy McKay, Developer.
> >   ActiveState.
> >
> >
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>