[Samba] oplocks issue when trying to copy file

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Dec 19 02:57:29 MST 2011


Hi!

More interesting would be a debug level 10 logfile together
with a "strace -ttT -o /tmp/smbd.strace -p <smbd-pid>" on
the smbd relevant for the client.

Volker

On Fri, Dec 16, 2011 at 06:44:10PM +0100, Joschi Brauchle wrote:
> 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 SLES11SP1.
> 
> I did some research and found that the kernel commit
> http://kernel.opensuse.org/cgit/kernel/commit/?h=SLE11-SP1&id=dd143426eaaadea159c8dd2d3c9ff5e9da94bcfd
> mentioned in this thread is included in SLES11SP1 kernel 2.6.32.29.
> 
> So I downgraded to SLES11SP1 2.6.32.12 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 2.6.32.12 (working) and
> 2.6.32.29 (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/
> 


> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba


-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list