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: [email protected]
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

Reply via email to