posted by sbergman27 on Sat 9th Feb 2008 21:33
Conversations I believe I read that OSNews conversions were for tech discussion, and I have an issue which I've Googled and Googled but the answer is still not clear to me.

I know that NFS does some client-side caching, and have read that ensuring complete cache consistency between clients is expensive, so NFS implements a lesser guaranty which is good enough for "everyday file sharing".

I have a server that runs many sessions of a multiuser Cobol accounting application. I have a need to run one session of the app on another box, with the Cobol C/ISAM data files mounted via NFS. The application, obviously, will be reading and writing individual records within the files, and proper locking is employed such that clients running on the server do not step on each others' changes to the files. But can I trust that NFS is going to handle this properly and not cause corruption?
Permalink for comment 649
To read all comments associated with this story, please click here.
RE[2]: How about this...
by gregthecanuck on Sun 10th Feb 2008 11:11 UTC
gregthecanuck
Member since:
2006-05-30

I wouldn't trust NFS to get record locking 100% correct. There are too many ways this can go south.

If you are taking about read-only data, you _could_ periodically snapshot the data and sync it over to another PC. It depends how real-time your requirements turn out to be.

If you need read/write access (which you hinted at) then that is a different kettle-o-fish.

Anyone who has tried running an MS-Access database with multiple users can tell you all kinds of horror stories about corrupted databases.

ReplyParent Score: 1