TPS files on a Linux server: does it work, which distribution, and what about oplocks?

Applies to: TopSpeed (TPS) files shared from a Linux server, as reported in 2004. No Clarion or distribution version is named beyond the distributions listed below.

Problem

A developer with no Linux experience wanted to house shared TPS files on a Linux server. He asked whether Linux handles TPS files well, which flavor works best, and whether the Windows 2000 server troubles (opportunistic locking, write-back caching, virus scanning of TPS files) have a Linux counterpart.

Solution

  1. Go ahead: two posters said Linux handles TPS files very well, and that any mainstream distribution would do. One had used SuSE, Slackware and Debian, each with Samba preinstalled.
  2. Linux uses opportunistic locking just as Windows does. Unlike Windows, it can be switched off either globally or for one directory through a configuration file.
  3. On the Samba share that holds the TPS files, turn oplocks (level 1 and level 2) off. The poster who gave this advice said that with oplocks off you are safe.
  4. Read the documentation at samba.org.

Caveats

  • One poster said his firm put the oplock advice in its documentation but had no Linux server to test with, so that part is advice, not a test.
  • The thread did not say anything about write-back caching or virus scanning on Linux.
  • The original poster only thanked the group; he did not report back how his setup ran.

Today (2026)

Not re-tested. The oplock advice matches the later entries in this archive about TPS corruption on Windows shares, so it likely still applies; check the setting name against the current Samba documentation.

Sources: Todd W. (Nov 2004, the question), Andre L., Jim K., Pablo S. (Nov 2004) in softvelocity.clarion.databasedrivers.