[Samba] Op-lock error

Tom Peters tpeters at mixcom.com
Thu Apr 14 23:07:09 GMT 2005

Samba 3.0.9-2.3 on Suse 9.2

I'm still getting errors copying to my samba box: Often the first attempt 
to copy to it fails seemingly before it's copied anything. When this 
happens, there is a zero-length file created with the right name. If I 
retry the copy immediately and reply Yes to overwrite the zero-length file, 
it usually proceeds without problems.

Many times the copy just goes fine with no error.

The error dialog that pops up is always the same: Specified network name no 
longer available.

This may be new:

This is the first time I've seen this in the messages file:

Apr 14 16:33:35 tolkien smbd[26853]:   oplock_break: end of file from client
Apr 14 16:33:35 tolkien smbd[26853]:   oplock_break failed for file 
TV/Odyssey5/Odyssey 5-1x16-Vanishing.Point.avi (dev = fd00, inode = 644, 
file_id = 7).
Apr 14 16:33:35 tolkien smbd[26853]: [2005/04/14 16:33:35, 0] 
Apr 14 16:33:35 tolkien smbd[26853]:   oplock_break: client failure in 
break - shutting down this smbd.
Apr 14 16:34:07 tolkien smbd[26857]: [2005/04/14 16:34:07, 0] 
Apr 14 16:34:07 tolkien smbd[26857]:   request_oplock_break: no response 
received to oplock break request to pid 26853 on port 32883 for dev = fd00, 
inode = 644, file_id = 7

No, I take it back, there was a similar occurrence on April 2 copying a 
large file.

I had oplocks=off in my smb.conf and commented that statement out in an 
attempt to wring a little more performance out of this dog. Do I need to 
turn oplocks off? Are they on by default?

Is the global section the right place for the oplocks option?

[Love] Love is like linen - often changed, the sweeter.  --Phineas
Fletcher (1584-1650) Sicelides III.v
--... ...--  -.. .  -. ----. --.- --.- -...
tpeters at nospam.mixcom.com   (remove "nospam") N9QQB (amateur radio)
"HEY YOU" (loud shouting)  WEB ADDRESS http//www.mixweb.com/tpeters
43° 7' 17.2" N by 88° 6' 28.9" W,  Elevation 815',  Grid Square EN53wc
WAN/LAN/Telcom Analyst, Tech Writer, MCP, CCNA, Registered Linux User 385531

More information about the samba mailing list