Re: Recovering from disk errors

Toby Dickenson <[email protected]>
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Monday 05 July 2004 21:29, Ed Leafe wrote:
> On Jul 5, 2004, at 6:13 AM, Toby Dickenson wrote:
> >> 	When I run under snapshot.py using the command you gave above, I
> >> still
> >> get the following:
> >>
> >> failed to open /usr/zopestorage/config/snapshot.conf
> >> SnapshotError: directory is not a snapshot
> >
> > You didnt explicitly say that you ran the script in the FAQ, so I
> > assume it
> > ran without errors. I cant see a good reason why that wouldnt work.
>
> 	Ah, I didn't see that at the bottom of the FAQ. It's hard to remember
> what you've looked at when you're panicking!  ;-)
>
> 	I ran that script, and then I was able to run checkds, which seemed to
> complete without error.

Thats good.

> 	Now when I try to run Zope, it starts up OK, and most pages look fine.
>
> But once in a while I run into an error message like this:
> > Zope Error
> >
> > Zope has encountered an error while publishing this resource.
> >
> > Error Type: FileDoesNotExist
> > Error Value: DirectoryStorage file
> > 'A/o0/00/00/00/00/00/0B/3AB/035621002E5D7999' does not exist

What files match
A/o0/00/00/00/00/00/0B/3AB/0356*

A traceback would help.

Is this during a history or undo operation? or normal read/write?

Maybe I overlooked your answer..... how did you make and restore this backup? 
using the backup.py tool? if not, what else?

-- 
Toby Dickenson


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.