[Samba] oplocks issue when trying to copy file

Joschi Brauchle joschi.brauchle at tum.de
Fri Dec 16 10:44:10 MST 2011

Hello everyone,

I would like to follow up on the thread "[Samba] oplocks issue when 
trying to copy file", which I found while googling for a problem.

We have the same setup and problem mentioned in that thread:
Our Samba server (version 3.5.12) exports a share that was mounted via 
NFS from another machine. We are using SUSE Linux Enterprise and this 
setup used to work with "kernel oplocks = yes" in SLES10, but not in 

I did some research and found that the kernel commit
mentioned in this thread is included in SLES11SP1 kernel

So I downgraded to SLES11SP1 on a test-machine and can confirm 
that the problem goes away with kernel oplocks turned on!

As a workaround, one can disable kernel oplocks or use the "-o nolock" 
option when mounting via NFS.

I guess this kernel regression should be reported to Novell. I can 
provide the samba-level-10 logfiles for (working) and (not working).

Best regards,	
Dipl.-Ing. Joschi Brauchle, M.Sc.

Institute for Communications Engineering (LNT)
Technische Universitaet Muenchen (TUM)
80290 Munich, Germany

Tel (work): +49 89 289-23474
Fax (work): +49 89 289-23490
E-mail: joschi.brauchle at tum.de
Web: http://www.lnt.ei.tum.de/

More information about the samba mailing list