Re: DirectoryStorage on NFS?
Toby Dickenson <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb.dirstorage |
|---|---|
| Message-ID | <[email protected]> |
On Friday 05 Nov 2004 20:57, J C Lawrence wrote: > 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. There are few guaranteed atomic operations between independent NFS clients, or between NFS clients and local (non-NFS) access to the same files. Im sure that means you dont want to allow concurrent access to your storage data from seperate NFS clients. > > Try this patch for now. If it works out we can create a configuration > > file option. > > It works! Hurrah. A configuration option for this will be in 1.1.13 ------------------------------------------------------- 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