Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Eric on June 16, 2003, 08:52:56 PM

Title: File locking - smbfs vs. NFS vs. ?
Post by: Eric on June 16, 2003, 08:52:56 PM
I'm testing a legacy DOS application under DosEMU on several Linux
workstations.  I want them to access the same datafiles on an e-smith
server (5.6 - upgrade 4) which currently uses samba (iBays).
File locking is faked - it does not really lock the files - so the
application is failing our testing.  We'd really like to use e-smith
for this but samba seems to be inadequate in the file locking area.
I've heard good things about NFS on Linux (except for security
which we can address).   What other options are there?  Has anybody
had to deal with this issue before?  Any suggestions or hints?
What about the Andrew File System (www.openafs.org)?

TIA

Eric
Title: Re: File locking - smbfs vs. NFS vs. ?
Post by: Graeme Fleming on June 16, 2003, 11:53:29 PM
I presume you have installed Samba 2.2.8a and this does not provide a solution?

I have happily run a DOS accounting package written in AREV where the workstations were Windows systems, the file/record locking worked fine - do you require Linux w/s or perhaps execution under a Telnet session?
Title: Re: File locking - smbfs vs. NFS vs. ?
Post by: Dean Mumby on June 17, 2003, 01:37:05 AM
Have you tried to run your dos app under dosbox ?
What are your impressions of dosemu ?
I have been looking for a solution to run accpac plus on linux (clients)

Any comments

Regards
Dean
Title: Re: File locking - smbfs vs. NFS vs. ?
Post by: Eric on June 17, 2003, 11:32:27 PM
>  I presume you have installed Samba 2.2.8a and this does not
>  provide a solution?

The system is running 2.2.7-3.7.3 (!)  I'll try to move to 2.8 when I build
the test server (next week).

>  I have happily run a DOS accounting package written in AREV
>  where the workstations were Windows systems, the file/record
<  locking worked fine - do you require Linux w/s or perhaps execution
>  under a Telnet session?

Yes, we need Linux workstations.  We're looking into creating a definitive
file locking scenario so we can be sure of what's happening.

Thanks

Eric
Title: Re: File locking - smbfs vs. NFS vs. ?
Post by: Eric on June 17, 2003, 11:36:27 PM
Dean Mumby wrote:
>
> Have you tried to run your dos app under dosbox ?
> What are your impressions of dosemu ?
> I have been looking for a solution to run accpac plus on
> linux (clients)
>
> Any comments
>
> Regards
> Dean

I've not tried (or even heard of) dosbox... I'll check it out.  Thanks!

We've had success with dosemu for the tests we've been running.
It uses freedos although you can install another dos in it's place -
IBM's PCDOS comes to mind.  Compatability should be near 100%
then.

Thanks.

Eric