Our installation: 7 x Windows 7 Clients, 1 Samba 4.1.4 Server with Active Directory The clients use mdb databases. ? Our situation: Every 30 to 60 Minutes a windows 7 client cannot receive the actual database. After a new login, the data is actualized. ? Configuration: We tried: ? Oplocks --------------- ?????? oplocks = no ?????? level 2 oplocks = no or ?????? veto oplock files = /*.mdb/*.MDB/*.mde/*.MDE/ or ??????? blocking locks = no or ?????? oplock contention limit = 4 ? Result: Much too slow and still no actualization of all clients ? SMB3 ------------ ??????? max protocol = SMB3 ? Result: The same problem with the mdb databases. ? Speed settings ----------------------- ??????? strict allocate = yes ? Result: Giving ~30% speed, but no solution ? The most funny thing is, that samba 3.5 was working over many years without any problems on many servers. Since the latest Samba 3 and even including Samba 4.0, there is a failure every, 1-4 hours. ? What can we do? ? Thank you
On 2/4/2014 5:23 AM, J?rg Mayer wrote:> Our installation: > > 7 x Windows 7 Clients, 1 Samba 4.1.4 Server with Active Directory > > The clients use mdb databases. > > > Our situation: > > Every 30 to 60 Minutes a windows 7 client cannot receive the actual > database. After a new login, the data is actualized. >You'd probably have the same issues with Win2008 or Win2012 servers. Basically, shared MDBs on a network drive are a bad idea in later versions. (I remember reading about this a year or two ago, but can't remember the details. Possibly had to do with the changing of file locking semantics in newer SMB or CIFS protocol.) Best fix is to: 1. Migrate the table data into PostgreSQL database tables. 2. Setup ODBC DSNs on the client machines that connect to the PostgreSQL database. 3. Replace the tables inside the MDB with ODBC linked tables, then change the name to match the old table name.
Maybe Matching Threads
- Technical problems with samba 3.5.11 and access 97 .mdb
- Performance issues samba4 with e.g. "ls -la"
- Locking Problems with Samba 2.2.7
- [Bridge] Getting + maintaining a consistent MDB view in userspace?
- 6352071 MDB ::interrupts need not display non-ISR entries on x86