Re: PANIC(300) DirectoryStorage Error

Toby Dickenson <[email protected]>
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Tuesday 01 Mar 2005 03:38, Brian Bisaillon wrote:
> I received the following Traceback when trying to run DirectoryStorage
> over PVFS2. My PVFS2 mount is at /mnt/pvfs2 and my lawn filesystem is
> stored at /mnt/pvfs2/var.

I guess you are the first to try.

>   File "/srv/zope-2.7.4/lib/python/DirectoryStorage/PosixFilesystem.py",
> line 43, in sync_directory
>     fsync(f)
> OSError: [Errno 22] Invalid argument

It looks like pvfs2 doesnt support fsync on directory inodes. Im not familiar 
with pvfs2, and I couldnt confirm this with a quick googling.

> I guess it's not possible to run this over PVFS2? :-)

The option [posix]/dirsync in the configuration file will turn off fsync of 
directory inodes, and should get you up and running. This was added in 
version 1.1.13. (If you dont want to upgrade, just comment out the call to 
fsync in the sync_directory function). 

This may or may not affect ACID characteristics of your storage.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
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.