Re: DirectoryStorage on NFS?

J C Lawrence <[email protected]>
Newsgroups gmane.comp.web.zope.zodb.dirstorage
Message-ID <[email protected]>
On Thu, 4 Nov 2004 08:29:21 +0000
Toby Dickenson <[email protected]> wrote:
> On Thursday 04 Nov 2004 00:59, J C Lawrence wrote:

>> Will DirectoryStorage run correctly in a situation where the database
>> is on an NFS mountpoint?

> I dont see why it shouldnt work, but Im happy to admit to being an NFS
> novice.

Me also in this degree.

> I *think* all directory operations are synchronous on NFS, so it
> should be safe without that operation.

The only thing that I'm absolutely certain on with regard to NFS is that
the only operation which NFS guarantees to be atomic is creat(2).  There
are no guaranteed atomic operations under NFS prior to NFS v4.  That
translates to most directory semantics being synchronous, just not quite
all.

> Try this patch for now. If it works out we can create a configuration
> file option.

It works!

--
J C Lawrence
---------(*)                Satan, oscillate my metallic sonatas.
[email protected]               He lived as a devil, eh?
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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.